UNPKG

faster-babel-types

Version:
5 lines 385 B
import type * as t from '@babel/types'; export declare function typeAnnotation(typeAnnotation: t.FlowType): t.TypeAnnotation; export declare function isTypeAnnotation(node: t.Node | null | undefined): node is t.TypeAnnotation; export declare function assertTypeAnnotation(node: t.Node | null | undefined): asserts node is t.TypeAnnotation; //# sourceMappingURL=type-annotation.d.ts.map