@vue/language-core
Advanced tools
Comparing version 1.8.15 to 1.8.16
@@ -359,6 +359,6 @@ "use strict"; | ||
codes.push(`props: __VLS_Prettify<Omit<typeof __VLS_fnPropsDefineComponent & typeof __VLS_fnPropsTypeOnly, keyof typeof __VLS_defaultProps>> & typeof __VLS_fnPropsSlots & typeof __VLS_defaultProps,\n`); | ||
codes.push(`expose(exposed: ${scriptSetupRanges.exposeRuntimeArg ? 'typeof __VLS_exposed' : '{}'}): void,\n`); | ||
codes.push(`expose(exposed: import('${vueCompilerOptions.lib}').ShallowUnwrapRef<${scriptSetupRanges.exposeRuntimeArg ? 'typeof __VLS_exposed' : '{}'}>): void,\n`); | ||
codes.push('attrs: any,\n'); | ||
codes.push('slots: ReturnType<typeof __VLS_template>,\n'); | ||
codes.push('emit: typeof __VLS_emit'); | ||
codes.push(`emit: typeof ${scriptSetupRanges.emitsAssignName ?? '__VLS_emit'},\n`); | ||
codes.push('};\n'); | ||
@@ -555,5 +555,2 @@ codes.push('})(),\n'); | ||
codes.push(`},\n`); | ||
if (scriptRanges?.exportDefault?.args) { | ||
addVirtualCode('script', scriptRanges.exportDefault.args.start + 1, scriptRanges.exportDefault.args.end - 1); | ||
} | ||
codes.push(`})`); | ||
@@ -600,2 +597,5 @@ } | ||
} | ||
if (scriptRanges?.exportDefault?.args) { | ||
addVirtualCode('script', scriptRanges.exportDefault.args.start + 1, scriptRanges.exportDefault.args.end - 1); | ||
} | ||
} | ||
@@ -602,0 +602,0 @@ function generateSetupReturns() { |
@@ -114,4 +114,4 @@ "use strict"; | ||
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F | ||
? F extends (event: infer E, ...args: infer A) => infer R | ||
? { [K in E as K extends string ? K : never]: (...args: A) => void; } | ||
? F extends (event: infer E, ...args: infer A) => any | ||
? { [K in E & string]: (...args: A) => void; } | ||
: never | ||
@@ -118,0 +118,0 @@ : never; |
{ | ||
"name": "@vue/language-core", | ||
"version": "1.8.15", | ||
"version": "1.8.16", | ||
"main": "out/index.js", | ||
@@ -16,8 +16,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"@volar/language-core": "~1.10.0", | ||
"@volar/source-map": "~1.10.0", | ||
"@volar/language-core": "~1.10.3", | ||
"@volar/source-map": "~1.10.3", | ||
"@vue/compiler-dom": "^3.3.0", | ||
"@vue/reactivity": "^3.3.0", | ||
"@vue/shared": "^3.3.0", | ||
"minimatch": "^9.0.0", | ||
"minimatch": "^9.0.3", | ||
"muggle-string": "^0.3.1", | ||
@@ -38,3 +38,3 @@ "vue-template-compiler": "^2.7.14" | ||
}, | ||
"gitHead": "24de4582131385e75f904bff7294df0e16ce1e01" | ||
"gitHead": "f9e281db3f47f9a3f94c79dbbf81102cba01eb5d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
255943
Updated@volar/language-core@~1.10.3
Updated@volar/source-map@~1.10.3
Updatedminimatch@^9.0.3