@progress/kendo-typescript-tasks 10.0.17-cdn-bundle.16 → 10.0.17-cdn-bundle.17

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/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": "10.0.17-cdn-bundle.16+fe7f5a4",
5
+ "version": "10.0.17-cdn-bundle.17+2a008f5",
6
6
  "author": "Telerik",
7
7
  "license": "Apache-2.0",
8
8
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "typescript": "^3.4.5"
19
19
  },
20
20
  "dependencies": {
21
- "@progress/kendo-common-tasks": "7.9.1-cdn-bundle.16+fe7f5a4",
21
+ "@progress/kendo-common-tasks": "7.9.1-cdn-bundle.17+2a008f5",
22
22
  "core-js": "^2.2.2",
23
23
  "del": "2.2.2",
24
24
  "gulp": "^4.0.0",
@@ -46,5 +46,5 @@
46
46
  "publishConfig": {
47
47
  "access": "public"
48
48
  },
49
- "gitHead": "fe7f5a4d5355a6e438c661e0919173f60bf053a6"
49
+ "gitHead": "2a008f50cfee71a9facba89592fd18e653c813c3"
50
50
  }
@@ -83,13 +83,11 @@ const normalizeUnionReferences = (element, members) => {
83
83
  return child.name === type.name;
84
84
  });
85
85
 
86
- let toReplace = [];
87
86
  if (unionReference && unionReference.kind === 'union') {
88
87
  normalizeUnionReferences(unionReference, members);
89
- toReplace = unionReference.type.types;
88
+ const toReplace = unionReference.type.types;
89
+ types.splice.apply(types, [idx, 1].concat(toReplace));
90
90
  }
91
-
92
- types.splice.apply(types, [idx, 1].concat(toReplace));
93
91
  }
94
92
  }
95
93
  }
@@ -135,6 +135,10 @@ const typeString = (prop) => {
135
135
  return unionTypes(prop).join(' | ');
136
136
  }
137
137
 
138
+ if (type.type === 'stringLiteral') {
139
+ return `'${type.value}'`;
140
+ }
141
+
138
142
  return singleTypeString(prop.type);
139
143
  };
140
144
 
@@ -3,7 +3,7 @@
3
3
  # {{name}}
4
4
  {{comment}}
5
5
 
6
- ## Values
6
+ ## Members
7
7
 
8
8
  {{#each types}}
9
9
  * {{this}}