tsc-ts 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/api/library/ast.d.ts +73 -0
- package/dist/api/library/ast.generated.d.ts +1157 -0
- package/dist/api/library/ast.generated.js +3 -0
- package/dist/api/library/ast.js +5 -0
- package/dist/api/library/compiler-options.generated.d.ts +108 -0
- package/dist/api/library/compiler-options.generated.js +3 -0
- package/dist/api/library/enums.generated.d.ts +891 -0
- package/dist/api/library/enums.generated.js +916 -0
- package/dist/api/library/index.d.ts +10 -0
- package/dist/api/library/index.js +11 -0
- package/dist/api/library/symbols.d.ts +8 -0
- package/dist/api/library/symbols.js +11 -0
- package/dist/api/library/types.d.ts +300 -0
- package/dist/api/library/types.js +6 -0
- package/package.json +18 -8
- package/src/library/ast.generated.ts +1711 -0
- package/src/library/ast.ts +101 -0
- package/src/library/compiler-options.generated.ts +114 -0
- package/src/library/enums.generated.ts +1024 -0
- package/src/library/index.ts +50 -0
- package/src/library/symbols.ts +15 -0
- package/src/library/types.ts +346 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
// The hand-written node types of tsc-ts's public API; the node interfaces are generated in
|
|
2
|
+
// ast.generated.ts (scripts/generate-api.mjs). They describe tsc-ts's own nodes, which the API hands
|
|
3
|
+
// out as they are: every node has its kind, flags, position and parent, and its children in the fields
|
|
4
|
+
// TypeScript 7's AST names. Lists are NodeList objects.
|
|
5
|
+
export * from './ast.generated.js';
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { JsxEmit } from './enums.generated.js';
|
|
2
|
+
import type { ModuleDetectionKind } from './enums.generated.js';
|
|
3
|
+
import type { ModuleKind } from './enums.generated.js';
|
|
4
|
+
import type { ModuleResolutionKind } from './enums.generated.js';
|
|
5
|
+
import type { NewLineKind } from './enums.generated.js';
|
|
6
|
+
import type { ScriptTarget } from './enums.generated.js';
|
|
7
|
+
export interface CompilerOptions {
|
|
8
|
+
allowJs?: boolean;
|
|
9
|
+
allowArbitraryExtensions?: boolean;
|
|
10
|
+
allowImportingTsExtensions?: boolean;
|
|
11
|
+
allowNonTsExtensions?: boolean;
|
|
12
|
+
allowUmdGlobalAccess?: boolean;
|
|
13
|
+
allowUnreachableCode?: boolean;
|
|
14
|
+
allowUnusedLabels?: boolean;
|
|
15
|
+
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
|
16
|
+
checkJs?: boolean;
|
|
17
|
+
customConditions?: string[];
|
|
18
|
+
composite?: boolean;
|
|
19
|
+
emitDeclarationOnly?: boolean;
|
|
20
|
+
emitBOM?: boolean;
|
|
21
|
+
emitDecoratorMetadata?: boolean;
|
|
22
|
+
declaration?: boolean;
|
|
23
|
+
declarationDir?: string;
|
|
24
|
+
declarationMap?: boolean;
|
|
25
|
+
deduplicatePackages?: boolean;
|
|
26
|
+
disableSizeLimit?: boolean;
|
|
27
|
+
disableSourceOfProjectReferenceRedirect?: boolean;
|
|
28
|
+
disableSolutionSearching?: boolean;
|
|
29
|
+
disableReferencedProjectLoad?: boolean;
|
|
30
|
+
erasableSyntaxOnly?: boolean;
|
|
31
|
+
exactOptionalPropertyTypes?: boolean;
|
|
32
|
+
experimentalDecorators?: boolean;
|
|
33
|
+
forceConsistentCasingInFileNames?: boolean;
|
|
34
|
+
isolatedModules?: boolean;
|
|
35
|
+
isolatedDeclarations?: boolean;
|
|
36
|
+
ignoreConfig?: boolean;
|
|
37
|
+
ignoreDeprecations?: string;
|
|
38
|
+
importHelpers?: boolean;
|
|
39
|
+
inlineSourceMap?: boolean;
|
|
40
|
+
inlineSources?: boolean;
|
|
41
|
+
init?: boolean;
|
|
42
|
+
incremental?: boolean;
|
|
43
|
+
jsx?: JsxEmit;
|
|
44
|
+
jsxFactory?: string;
|
|
45
|
+
jsxFragmentFactory?: string;
|
|
46
|
+
jsxImportSource?: string;
|
|
47
|
+
lib?: string[];
|
|
48
|
+
libReplacement?: boolean;
|
|
49
|
+
locale?: string;
|
|
50
|
+
mapRoot?: string;
|
|
51
|
+
module?: ModuleKind;
|
|
52
|
+
moduleResolution?: ModuleResolutionKind;
|
|
53
|
+
moduleSuffixes?: string[];
|
|
54
|
+
moduleDetection?: ModuleDetectionKind;
|
|
55
|
+
newLine?: NewLineKind;
|
|
56
|
+
noEmit?: boolean;
|
|
57
|
+
noCheck?: boolean;
|
|
58
|
+
noErrorTruncation?: boolean;
|
|
59
|
+
noFallthroughCasesInSwitch?: boolean;
|
|
60
|
+
noImplicitAny?: boolean;
|
|
61
|
+
noImplicitThis?: boolean;
|
|
62
|
+
noImplicitReturns?: boolean;
|
|
63
|
+
noEmitHelpers?: boolean;
|
|
64
|
+
noLib?: boolean;
|
|
65
|
+
noPropertyAccessFromIndexSignature?: boolean;
|
|
66
|
+
noUncheckedIndexedAccess?: boolean;
|
|
67
|
+
noEmitOnError?: boolean;
|
|
68
|
+
noUnusedLocals?: boolean;
|
|
69
|
+
noUnusedParameters?: boolean;
|
|
70
|
+
noResolve?: boolean;
|
|
71
|
+
noImplicitOverride?: boolean;
|
|
72
|
+
noUncheckedSideEffectImports?: boolean;
|
|
73
|
+
outDir?: string;
|
|
74
|
+
paths?: Record<string, string[]>;
|
|
75
|
+
preserveConstEnums?: boolean;
|
|
76
|
+
preserveSymlinks?: boolean;
|
|
77
|
+
project?: string;
|
|
78
|
+
resolveJsonModule?: boolean;
|
|
79
|
+
resolvePackageJsonExports?: boolean;
|
|
80
|
+
resolvePackageJsonImports?: boolean;
|
|
81
|
+
removeComments?: boolean;
|
|
82
|
+
rewriteRelativeImportExtensions?: boolean;
|
|
83
|
+
reactNamespace?: string;
|
|
84
|
+
rootDir?: string;
|
|
85
|
+
rootDirs?: string[];
|
|
86
|
+
skipLibCheck?: boolean;
|
|
87
|
+
stableTypeOrdering?: boolean;
|
|
88
|
+
strict?: boolean;
|
|
89
|
+
strictBindCallApply?: boolean;
|
|
90
|
+
strictBuiltinIteratorReturn?: boolean;
|
|
91
|
+
strictFunctionTypes?: boolean;
|
|
92
|
+
strictNullChecks?: boolean;
|
|
93
|
+
strictPropertyInitialization?: boolean;
|
|
94
|
+
stripInternal?: boolean;
|
|
95
|
+
skipDefaultLibCheck?: boolean;
|
|
96
|
+
sourceMap?: boolean;
|
|
97
|
+
sourceRoot?: string;
|
|
98
|
+
suppressOutputPathCheck?: boolean;
|
|
99
|
+
target?: ScriptTarget;
|
|
100
|
+
traceResolution?: boolean;
|
|
101
|
+
tsBuildInfoFile?: string;
|
|
102
|
+
typeRoots?: string[];
|
|
103
|
+
types?: string[];
|
|
104
|
+
useDefineForClassFields?: boolean;
|
|
105
|
+
useUnknownInCatchVariables?: boolean;
|
|
106
|
+
verbatimModuleSyntax?: boolean;
|
|
107
|
+
maxNodeModuleJsDepth?: number;
|
|
108
|
+
}
|