@teambit/schema 0.0.760 → 0.0.763
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mock/button/index.d.ts +4 -3
- package/dist/mock/button/index.js +4 -3
- package/dist/mock/button/index.js.map +1 -1
- package/dist/mock/button-schemas.json +161 -129
- package/mock/button/index.ts +5 -3
- package/mock/button-schemas.json +161 -129
- package/package-tar/teambit-schema-0.0.763.tgz +0 -0
- package/package.json +12 -12
- package/{preview-1655177322725.js → preview-1655373564849.js} +2 -2
- package/package-tar/teambit-schema-0.0.760.tgz +0 -0
package/mock/button/index.ts
CHANGED
|
@@ -4,11 +4,13 @@
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/prefer-as-const */
|
|
5
5
|
/* eslint-disable one-var */
|
|
6
6
|
/* eslint-disable max-classes-per-file */
|
|
7
|
+
|
|
7
8
|
/**
|
|
8
|
-
*
|
|
9
|
-
* @
|
|
9
|
+
* General comment of the myFunc
|
|
10
|
+
* @deprecate example of deprecation tag
|
|
11
|
+
* @param a { number } this is A
|
|
10
12
|
* @param b this is B
|
|
11
|
-
* @returns
|
|
13
|
+
* @returns { number } results of adding a to b
|
|
12
14
|
*/
|
|
13
15
|
export function myFunc(a = 4, b = 5): number {
|
|
14
16
|
return a + b;
|