-
-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathtypescript-internal.d.ts
More file actions
62 lines (47 loc) · 1.79 KB
/
typescript-internal.d.ts
File metadata and controls
62 lines (47 loc) · 1.79 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
export {};
declare module "typescript" {
function createDiagnosticReporter(system: System, pretty?: boolean): DiagnosticReporter;
function createWatchStatusReporter(system: System, pretty?: boolean): WatchStatusReporter;
interface System {
setBlocking?(): void;
}
interface Statement {
jsDoc?: JSDoc[];
}
interface Program {
getCommonSourceDirectory(): string;
}
interface CompilerOptions {
configFile?: TsConfigSourceFile;
configFilePath?: string;
}
interface TypeChecker {
getElementTypeOfArrayType(type: Type): Type | undefined;
getContextualTypeForObjectLiteralElement(element: ObjectLiteralElementLike): Type | undefined;
isTupleType(type: Type): boolean;
isArrayType(type: Type): boolean;
}
interface Symbol {
parent?: Symbol;
}
interface Signature {
compositeSignatures?: Signature[];
}
function transformJsx(context: TransformationContext): (x: SourceFile) => SourceFile;
export type OuterExpression =
| ParenthesizedExpression
| TypeAssertion
| AsExpression
| NonNullExpression
| PartiallyEmittedExpression;
function skipOuterExpressions(node: Expression, kinds?: OuterExpressionKinds): Expression;
export function isOuterExpression(node: Node, kinds?: OuterExpressionKinds): node is OuterExpression;
export function nodeNextJsonConfigResolver(
moduleName: string,
containingFile: string,
host: ModuleResolutionHost
): ResolvedModuleWithFailedLookupLocations;
export function pathIsAbsolute(path: string): boolean;
export function pathIsRelative(path: string): boolean;
export function setParent<T extends Node>(child: T, parent: T["parent"] | undefined): T;
}