forked from sxzz/rolldown-plugin-dts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdts.snapshot.json
More file actions
90 lines (90 loc) · 4.45 KB
/
dts.snapshot.json
File metadata and controls
90 lines (90 loc) · 4.45 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"filename.d.mts": {
"filename_dts_to": "declare function filename_dts_to(_: string, _: 'js' | 'ts'): string",
"filename_js_to_dts": "declare function filename_js_to_dts(_: string): string",
"filename_to_dts": "declare function filename_to_dts(_: string): string",
"RE_CSS": "RegExp",
"RE_DTS": "RegExp",
"RE_DTS_MAP": "RegExp",
"RE_JS": "RegExp",
"RE_JSON": "RegExp",
"RE_NODE_MODULES": "RegExp",
"RE_ROLLDOWN_RUNTIME": "RegExp",
"RE_TS": "RegExp",
"RE_VUE": "RegExp",
"replaceTemplateName": "declare function replaceTemplateName(_: string, _: string): string",
"resolveTemplateFn": "declare function resolveTemplateFn(_: string | ChunkFileNamesFunction, _: PreRenderedChunk): string",
"#exports": [
"RE_CSS",
"RE_DTS",
"RE_DTS_MAP",
"RE_JS",
"RE_JSON",
"RE_NODE_MODULES",
"RE_ROLLDOWN_RUNTIME",
"RE_TS",
"RE_VUE",
"filename_dts_to",
"filename_js_to_dts",
"filename_to_dts",
"replaceTemplateName",
"resolveTemplateFn"
]
},
"index.d.mts": {
"createFakeJsPlugin": "declare function createFakeJsPlugin(_: Pick<OptionsResolved, 'sourcemap' | 'cjsDefault' | 'sideEffects'>): Plugin",
"createGeneratePlugin": "declare function createGeneratePlugin(_: Pick<OptionsResolved, 'cwd' | 'tsconfig' | 'tsconfigRaw' | 'build' | 'incremental' | 'oxc' | 'emitDtsOnly' | 'vue' | 'tsMacro' | 'parallel' | 'eager' | 'tsgo' | 'newContext' | 'emitJs' | 'sourcemap'>): Plugin",
"dts": "declare function dts(_: Options): Plugin[]",
"GeneralOptions": "interface GeneralOptions {\n cwd?: string\n dtsInput?: boolean\n emitDtsOnly?: boolean\n tsconfig?: string | boolean\n tsconfigRaw?: Omit<TsConfigJson, 'compilerOptions'>\n compilerOptions?: TsConfigJson.CompilerOptions\n sourcemap?: boolean\n resolver?: 'oxc' | 'tsc'\n cjsDefault?: boolean\n sideEffects?: boolean\n}",
"Options": "interface Options extends GeneralOptions, TscOptions {\n oxc?: boolean | Omit<IsolatedDeclarationsOptions, 'sourcemap'>\n tsgo?: boolean | TsgoOptions\n}",
"OptionsResolved": "type OptionsResolved = Overwrite<Required<Omit<Options, 'compilerOptions'>>, { tsconfig?: string; oxc: IsolatedDeclarationsOptions | false; tsconfigRaw: TsConfigJson; tsgo: Omit<TsgoOptions, 'enabled'> | false }>",
"Overwrite": "type Overwrite<T, U> = Pick<T, Exclude<keyof T, keyof U>> & U",
"resolveOptions": "declare function resolveOptions(_: Options): OptionsResolved",
"TscOptions": "interface TscOptions {\n build?: boolean\n incremental?: boolean\n vue?: boolean\n tsMacro?: boolean\n parallel?: boolean\n eager?: boolean\n newContext?: boolean\n emitJs?: boolean\n}",
"TsgoOptions": "interface TsgoOptions {\n enabled?: boolean\n path?: string\n}",
"#exports": [
"Options",
"createFakeJsPlugin",
"createGeneratePlugin",
"dts",
"resolveOptions"
]
},
"tsc-context.d.mts": {
"createContext": "declare function createContext(): TscContext",
"globalContext": "TscContext",
"invalidateContextFile": "declare function invalidateContextFile(_: TscContext, _: string): void",
"ParsedProject": "interface ParsedProject {\n tsconfigPath: string\n parsedConfig: ts.ParsedCommandLine\n}",
"SourceFileToProjectMap": "type SourceFileToProjectMap = Map<string, ParsedProject>",
"TscContext": "interface TscContext {\n programs: ts.Program[]\n files: Map<string, string>\n projects: Map<string, SourceFileToProjectMap>\n}",
"#exports": [
"ParsedProject",
"SourceFileToProjectMap",
"TscContext",
"createContext",
"globalContext",
"invalidateContextFile"
]
},
"tsc-worker.d.mts": {
"functions": "{\n tscEmit: typeof tscEmit\n}",
"TscFunctions": "type TscFunctions = typeof functions",
"#exports": [
"TscFunctions"
]
},
"tsc.d.mts": {
"tscEmit": "declare function tscEmit(_: TscOptions): TscResult",
"#exports": [
"TscModule",
"TscOptions",
"TscResult",
"tscEmit"
]
},
"types-!~{007}~.d.mts": {
"TscModule": "interface TscModule {\n program: ts.Program\n file: ts.SourceFile\n}",
"TscOptions": "interface TscOptions {\n tsconfig?: string\n tsconfigRaw: TsConfigJson\n cwd: string\n build: boolean\n incremental: boolean\n entries?: string[]\n id: string\n sourcemap: boolean\n vue?: boolean\n tsMacro?: boolean\n context?: TscContext\n}",
"TscResult": "interface TscResult {\n code?: string\n map?: SourceMapInput\n error?: string\n}"
}
}