We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f5ff7 commit ac5d8aaCopy full SHA for ac5d8aa
packages/language-core/lib/types.ts
@@ -97,11 +97,9 @@ export type VueLanguagePluginReturn = {
97
template: string,
98
options: CompilerDOM.CompilerOptions,
99
): CompilerDOM.CodegenResult | undefined;
100
- compileSFCStyle?(lang: string, style: string): {
101
- imports?: Sfc['styles'][number]['imports'];
102
- bindings?: Sfc['styles'][number]['bindings'];
103
- classNames?: Sfc['styles'][number]['classNames'];
104
- } | undefined;
+ compileSFCStyle?(lang: string, style: string):
+ | Pick<Sfc['styles'][number], 'imports' | 'bindings' | 'classNames'>
+ | undefined;
105
updateSFCTemplate?(
106
oldResult: CompilerDOM.CodegenResult,
107
textChange: { start: number; end: number; newText: string },
0 commit comments