UNPKG

324 BTypeScriptView Raw
1import { TypeNode } from "ts-morph";
2import { ParserError } from "../errors";
3import { LociTable } from "../locations";
4import { Type, TypeTable } from "../types";
5import { Result } from "../util";
6export declare function parseType(typeNode: TypeNode, typeTable: TypeTable, lociTable: LociTable): Result<Type, ParserError>;