@maverick-js/compiler
Version:
Maverick toolchain including the analyzer and compiler.
5 lines (4 loc) • 422 B
TypeScript
import ts from 'typescript';
export declare function getDeclarations(checker: ts.TypeChecker, identifier: ts.Identifier): ts.Declaration[] | undefined;
export declare function getDeclaration(checker: ts.TypeChecker, identifier: ts.Identifier): ts.Declaration | undefined;
export declare function getShorthandAssignmentDeclaration(checker: ts.TypeChecker, node: ts.ShorthandPropertyAssignment): ts.Declaration | undefined;