forked from ony3000/prettier-plugin-merge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathglobal.d.ts
42 lines (39 loc) · 1.01 KB
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
declare global {
type PrettierBaseOptions = {
printWidth: number;
tabWidth: number;
useTabs: boolean;
semi: boolean;
singleQuote: boolean;
jsxSingleQuote: boolean;
trailingComma: 'none' | 'es5' | 'all';
bracketSpacing: boolean;
bracketSameLine: boolean;
jsxBracketSameLine: boolean;
rangeStart: number;
rangeEnd: number;
requirePragma: boolean;
insertPragma: boolean;
proseWrap: 'always' | 'never' | 'preserve';
arrowParens: 'avoid' | 'always';
htmlWhitespaceSensitivity: 'css' | 'strict' | 'ignore';
endOfLine: 'auto' | 'lf' | 'crlf' | 'cr';
quoteProps: 'as-needed' | 'consistent' | 'preserve';
vueIndentScriptAndStyle: boolean;
embeddedLanguageFormatting: 'auto' | 'off';
singleAttributePerLine: boolean;
};
type SupportedParserNames =
| 'babel'
| 'typescript'
| 'angular'
| 'html'
| 'vue'
| 'astro'
| 'svelte';
type FormattedTextAST = {
type: 'FormattedText';
body: string;
};
}
export {};