vue-component-meta 1.3.5 → 1.3.7
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/out/index.js +4 -1
- package/package.json +4 -4
package/out/index.js
CHANGED
|
@@ -361,7 +361,10 @@ function createSchemaResolvers(typeChecker, symbolNode, { rawType, schema: optio
|
|
|
361
361
|
};
|
|
362
362
|
}
|
|
363
363
|
function resolveSlotProperties(prop) {
|
|
364
|
-
const
|
|
364
|
+
const propType = typeChecker.getNonNullableType(typeChecker.getTypeOfSymbolAtLocation(prop, symbolNode));
|
|
365
|
+
const signatures = propType.getCallSignatures();
|
|
366
|
+
const paramType = signatures[0].parameters[0];
|
|
367
|
+
const subtype = typeChecker.getTypeOfSymbolAtLocation(paramType, symbolNode);
|
|
365
368
|
let schema;
|
|
366
369
|
return {
|
|
367
370
|
name: prop.getName(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-component-meta",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
4
4
|
"main": "out/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
"directory": "packages/vue-component-meta"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@volar/language-core": "1.4.0-alpha.
|
|
17
|
-
"@volar/vue-language-core": "1.3.
|
|
16
|
+
"@volar/language-core": "1.4.0-alpha.5",
|
|
17
|
+
"@volar/vue-language-core": "1.3.7",
|
|
18
18
|
"typesafe-path": "^0.2.2"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"typescript": "*"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "7ce8724a60d8cd2c5b952048c9146e1d20d6ae50"
|
|
24
24
|
}
|