@progress/kendo-typescript-tasks 11.1.1-dev.4 → 11.1.1-dev.5
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 +3 -3
- package/src/api/generator.js +1 -1
- package/src/api/type-utils.js +4 -0
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.1.1-dev.
|
|
5
|
+
"version": "11.1.1-dev.5+376d2dd",
|
|
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.1-dev.
|
|
21
|
+
"@progress/kendo-common-tasks": "8.0.1-dev.7+376d2dd",
|
|
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": "376d2dd85fb94383b89f66578f43ffd9badb38eb"
|
|
52
52
|
}
|
package/src/api/generator.js
CHANGED
|
@@ -148,7 +148,7 @@ const extractMembers = (packageName, modules, config) => {
|
|
|
148
148
|
.children
|
|
149
149
|
.filter(child => child.kindString !== "Reference")
|
|
150
150
|
.filter(child => child.name !== 'core')
|
|
151
|
-
.filter(child => !child.sources[0].fileName.includes('prosemirror'))
|
|
151
|
+
.filter(child => child.sources && !child.sources[0].fileName.includes('prosemirror'))
|
|
152
152
|
.map(child => {
|
|
153
153
|
const fullName = moduleFullName(module.name, packageName, rootModules);
|
|
154
154
|
|
package/src/api/type-utils.js
CHANGED
|
@@ -139,6 +139,10 @@ const singleTypeString = (type) => {
|
|
|
139
139
|
const typeString = (prop) => {
|
|
140
140
|
const type = prop.type;
|
|
141
141
|
|
|
142
|
+
if (!type && prop.kindString === 'Method') {
|
|
143
|
+
return singleTypeString(prop.signatures[0]);
|
|
144
|
+
}
|
|
145
|
+
|
|
142
146
|
if (type.type === 'union') {
|
|
143
147
|
return unionTypes(prop).join(' | ');
|
|
144
148
|
}
|