diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-11 16:02:26 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-11 16:02:26 +0530 |
| commit | 49d6379c3d40b684b28f4a957ff1ffb81a2560ee (patch) | |
| tree | fac62b2de1670ecfea6496949b028fa8fe0fe444 /src/types.ts | |
| parent | a6ff70d09e1e5f161e401a3665bfe44b2abfc44e (diff) | |
| download | ts-types-lang-49d6379c3d40b684b28f4a957ff1ffb81a2560ee.tar.gz ts-types-lang-49d6379c3d40b684b28f4a957ff1ffb81a2560ee.zip | |
refactor: minor refactor all around
Diffstat (limited to 'src/types.ts')
| -rw-r--r-- | src/types.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 3ffd416..e3ea7e9 100644 --- a/src/types.ts +++ b/src/types.ts @@ -11,6 +11,7 @@ export interface Ctx { typeChecker: TypeChecker entryPoint: ExportedDeclarations typeToString: (ty: Type | undefined) => string + getTypeValue: (ty: Type | undefined) => any createResult: (ty: string) => [string, Node | undefined] getResultExpr: (key?: string) => string |
