|
1 | 1 | { |
2 | | - "context-!~{00b}~.d.mts": { |
3 | | - "createContext": "declare function createContext(): TscContext", |
4 | | - "globalContext": "TscContext", |
5 | | - "invalidateContextFile": "declare function invalidateContextFile(_: TscContext, _: string): void", |
6 | | - "ParsedProject": "interface ParsedProject {\n tsconfigPath: string\n parsedConfig: ts.ParsedCommandLine\n}", |
7 | | - "SourceFileToProjectMap": "type SourceFileToProjectMap = Map<string, ParsedProject>", |
8 | | - "TscContext": "interface TscContext {\n programs: ts.Program[]\n files: Map<string, string>\n projects: Map<string, SourceFileToProjectMap>\n}" |
9 | | - }, |
10 | 2 | "filename.d.mts": { |
11 | 3 | "filename_dts_to": "declare function filename_dts_to(_: string, _: 'js' | 'ts'): string", |
12 | 4 | "filename_js_to_dts": "declare function filename_js_to_dts(_: string): string", |
|
39 | 31 | "resolveTemplateFn" |
40 | 32 | ] |
41 | 33 | }, |
42 | | - "index-!~{00d}~.d.mts": { |
43 | | - "tscEmit": "declare function tscEmit(_: TscOptions): TscResult", |
44 | | - "TscModule": "interface TscModule {\n program: ts.Program\n file: ts.SourceFile\n}", |
45 | | - "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}", |
46 | | - "TscResult": "interface TscResult {\n code?: string\n map?: SourceMapInput\n error?: string\n}" |
47 | | - }, |
48 | 34 | "index.d.mts": { |
49 | 35 | "createFakeJsPlugin": "declare function createFakeJsPlugin(_: Pick<OptionsResolved, 'sourcemap' | 'cjsDefault' | 'sideEffects'>): Plugin", |
50 | 36 | "createGeneratePlugin": "declare function createGeneratePlugin(_: Pick<OptionsResolved, 'cwd' | 'tsconfig' | 'tsconfigRaw' | 'build' | 'incremental' | 'oxc' | 'emitDtsOnly' | 'vue' | 'tsMacro' | 'parallel' | 'eager' | 'tsgo' | 'newContext' | 'emitJs' | 'sourcemap'>): Plugin", |
|
65 | 51 | ] |
66 | 52 | }, |
67 | 53 | "tsc-context.d.mts": { |
| 54 | + "createContext": "declare function createContext(): TscContext", |
| 55 | + "globalContext": "TscContext", |
| 56 | + "invalidateContextFile": "declare function invalidateContextFile(_: TscContext, _: string): void", |
| 57 | + "ParsedProject": "interface ParsedProject {\n tsconfigPath: string\n parsedConfig: ts.ParsedCommandLine\n}", |
| 58 | + "SourceFileToProjectMap": "type SourceFileToProjectMap = Map<string, ParsedProject>", |
| 59 | + "TscContext": "interface TscContext {\n programs: ts.Program[]\n files: Map<string, string>\n projects: Map<string, SourceFileToProjectMap>\n}", |
68 | 60 | "#exports": [ |
69 | 61 | "ParsedProject", |
70 | 62 | "SourceFileToProjectMap", |
|
82 | 74 | ] |
83 | 75 | }, |
84 | 76 | "tsc.d.mts": { |
| 77 | + "tscEmit": "declare function tscEmit(_: TscOptions): TscResult", |
85 | 78 | "#exports": [ |
86 | 79 | "TscModule", |
87 | 80 | "TscOptions", |
88 | 81 | "TscResult", |
89 | 82 | "tscEmit" |
90 | 83 | ] |
| 84 | + }, |
| 85 | + "types-!~{007}~.d.mts": { |
| 86 | + "TscModule": "interface TscModule {\n program: ts.Program\n file: ts.SourceFile\n}", |
| 87 | + "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}", |
| 88 | + "TscResult": "interface TscResult {\n code?: string\n map?: SourceMapInput\n error?: string\n}" |
91 | 89 | } |
92 | 90 | } |
0 commit comments