@progress/kendo-typescript-tasks 10.0.22-ng12.84 → 11.1.0
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/CHANGELOG.md +45 -0
- package/package.json +3 -3
- package/src/api/type-utils.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,51 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [11.1.0](https://github.com/telerik/kendo-build-tasks/compare/@progress/kendo-typescript-tasks@11.0.0...@progress/kendo-typescript-tasks@11.1.0) (2022-04-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **typescript-tasks:** add support for tuples ([f939163](https://github.com/telerik/kendo-build-tasks/commit/f9391633ea622f06149461c501c15b634c490f20))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [11.0.0](https://github.com/telerik/kendo-build-tasks/compare/@progress/kendo-typescript-tasks@10.0.21...@progress/kendo-typescript-tasks@11.0.0) (2022-04-19)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* stripped descriptions in api generation ([865ce93](https://github.com/telerik/kendo-build-tasks/commit/865ce93a97964a0f56fc89bface1dbfe6b983c9f))
|
|
23
|
+
* **typescript-tasks:** address null values in api generation ([#339](https://github.com/telerik/kendo-build-tasks/issues/339)) ([7464b2f](https://github.com/telerik/kendo-build-tasks/commit/7464b2fd387ad36957188289d6df2156cb04be7f))
|
|
24
|
+
* **typescript-tasks:** comment extraction throws error ([42dea23](https://github.com/telerik/kendo-build-tasks/commit/42dea236a72de5b9fec21bbb36b356c19b6da757))
|
|
25
|
+
* **typescript-tasks:** generate proper type for array type literals ([51c289d](https://github.com/telerik/kendo-build-tasks/commit/51c289d7c2f5eb0e3426606d3f07db736dba6d1e))
|
|
26
|
+
* **typescript-tasks:** get type from setter first ([82759ee](https://github.com/telerik/kendo-build-tasks/commit/82759ee6e74fa18cf135aaecc45a2fcc3ebc6a2b))
|
|
27
|
+
* **typescript-tasks:** ignore prosemirror types ([3160654](https://github.com/telerik/kendo-build-tasks/commit/3160654aeedf763e44d2bb0c6fe3ec53c2da0548))
|
|
28
|
+
* **typescript-tasks:** null treated as literal value ([615a51a](https://github.com/telerik/kendo-build-tasks/commit/615a51aef3a703bad375b8506d586e84b0ea7c36))
|
|
29
|
+
* **typescript-tasks:** stripped fields from extended class in api generation ([25c96fb](https://github.com/telerik/kendo-build-tasks/commit/25c96fba95afe35ade5dc1a56c258459ae31f6ae))
|
|
30
|
+
* **typescript-tasks:** stripped function types ([78d272e](https://github.com/telerik/kendo-build-tasks/commit/78d272ec9f142ea4b268e9e621155bd85ccda638))
|
|
31
|
+
* **typescript-tasks:** undefined signature ([c446762](https://github.com/telerik/kendo-build-tasks/commit/c446762928d6bde8b90e093a6f0d6832ac25fd78))
|
|
32
|
+
* union template for null values ([e5e700f](https://github.com/telerik/kendo-build-tasks/commit/e5e700f6f6e0bea14e8d32d71f6f6f4b55166401))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Features
|
|
36
|
+
|
|
37
|
+
* migrate to eslint ([469811f](https://github.com/telerik/kendo-build-tasks/commit/469811f3201e08e6d61d18e37275ed71e2427832))
|
|
38
|
+
* update do TS 4.3, Jest 27 and Angular v12 ([cc7bb34](https://github.com/telerik/kendo-build-tasks/commit/cc7bb34978586a12a14d08822ea03d7c2b6c0daa))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### BREAKING CHANGES
|
|
42
|
+
|
|
43
|
+
* Requires TypeScript 4.3.x
|
|
44
|
+
* Requires Jest 27.x
|
|
45
|
+
* Requires Angular 12.x
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
6
51
|
## [10.0.21](https://github.com/telerik/kendo-build-tasks/compare/@progress/kendo-typescript-tasks@10.0.20...@progress/kendo-typescript-tasks@10.0.21) (2022-03-14)
|
|
7
52
|
|
|
8
53
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@progress/kendo-typescript-tasks",
|
|
3
3
|
"description": "Kendo UI TypeScript package gulp tasks",
|
|
4
4
|
"main": "gulp-tasks.js",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "11.1.0",
|
|
6
6
|
"author": "Telerik",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"scripts": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"typescript": "^4.3.4"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@progress/kendo-common-tasks": "
|
|
21
|
+
"@progress/kendo-common-tasks": "^8.0.0",
|
|
22
22
|
"@typescript-eslint/eslint-plugin": "4.28.2",
|
|
23
23
|
"@typescript-eslint/parser": "4.28.2",
|
|
24
24
|
"core-js": "^3.18.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "124875b2e9f5d2b90f4df5cfd17ebd42a8f06b42"
|
|
52
52
|
}
|
package/src/api/type-utils.js
CHANGED
|
@@ -123,6 +123,10 @@ const singleTypeString = (type) => {
|
|
|
123
123
|
return `${singleTypeString(type.elementType)}[]`;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
+
if (type.type === 'tuple') {
|
|
127
|
+
return `[${type.elements.map(singleTypeString).join(', ')}]`;
|
|
128
|
+
}
|
|
129
|
+
|
|
126
130
|
if (type.typeArguments) {
|
|
127
131
|
suffix = `<${singleTypeString(type.typeArguments[0])}>`;
|
|
128
132
|
}
|