@progress/kendo-typescript-tasks 10.0.17-cdn-bundle.15 → 10.0.17-cdn-bundle.18

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.15+f4928b1",
5
+ "version": "10.0.17-cdn-bundle.18+a392378",
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.15+f4928b1",
21
+ "@progress/kendo-common-tasks": "7.9.1-cdn-bundle.18+a392378",
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": "f4928b18c0124eef30de4949ca74841e7ae01a39"
49
+ "gitHead": "a392378ecbc051f7a1e04aa8966fa0e97b4481d3"
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
  }
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: {{friendlyName}} API
3
- page_title: {{platform}} {{friendlyName}} API | Kendo UI for {{platform}}
3
+ page_title: {{platform}} {{friendlyName}} API | Kendo UI{{#if platform}} for {{platform}}{{/if}}
4
4
  description: "Learn how to build custom functionality of the {{platform}} {{friendlyName}} by Kendo UI with the help of the options available in the API."
5
5
  slug: {{slug}}
6
6
  api_reference: true
@@ -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}}