UNPKG

faster-babel-types

Version:
5 lines 398 B
import type * as t from '@babel/types'; export declare function tsTypeAnnotation(typeAnnotation: t.TSType): t.TSTypeAnnotation; export declare function isTSTypeAnnotation(node: t.Node | null | undefined): node is t.TSTypeAnnotation; export declare function assertTSTypeAnnotation(node: t.Node | null | undefined): asserts node is t.TSTypeAnnotation; //# sourceMappingURL=ts-type-annotation.d.ts.map