-
-
Notifications
You must be signed in to change notification settings - Fork 420
/
Copy pathtypes.ts
22 lines (20 loc) · 960 Bytes
/
types.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import type * as ts from 'typescript/lib/tsserverlibrary';
export type LanguageServiceHost = ts.LanguageServiceHost & {
getVueCompilationSettings(): VueCompilerOptions,
isTsPlugin?: boolean,
isTsc?: boolean,
};
export interface VueCompilerOptions {
target?: 2 | 2.7 | 3;
experimentalRuntimeMode?: 'runtime-dom' | 'runtime-uni-app';
experimentalImplicitWrapComponentOptionsWithDefineComponent?: boolean | 'onlyJs';
experimentalDowngradePropsAndEmitsToSetupReturnOnScriptSetup?: boolean | 'onlyJs';
experimentalTemplateCompilerOptions?: any;
experimentalTemplateCompilerOptionsRequirePath?: string;
experimentalDisableTemplateSupport?: boolean;
experimentalResolveStyleCssClasses?: 'scoped' | 'always' | 'never';
experimentalAllowTypeNarrowingInInlineHandlers?: boolean;
experimentalSuppressUnknownJsxPropertyErrors?: boolean;
experimentalSuppressInvalidJsxElementTypeErrors?: boolean;
experimentalUseScriptLeadingCommentInTemplate?: boolean;
}