@progress/kendo-typescript-tasks 11.0.0 → 11.1.1-dev.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 CHANGED
@@ -3,6 +3,17 @@
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
+
6
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)
7
18
 
8
19
 
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": "11.0.0",
5
+ "version": "11.1.1-dev.0+124875b",
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": "^8.0.0",
21
+ "@progress/kendo-common-tasks": "8.0.1-dev.1+124875b",
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": "c226bd0fb97273c14bd84260132d6afeb46b1bf5"
51
+ "gitHead": "124875b2e9f5d2b90f4df5cfd17ebd42a8f06b42"
52
52
  }
@@ -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
  }