faster-babel-types
Version:
5 lines • 465 B
TypeScript
import type * as t from '@babel/types';
export declare function stringLiteralTypeAnnotation(value: string): t.StringLiteralTypeAnnotation;
export declare function isStringLiteralTypeAnnotation(node: t.Node | null | undefined): node is t.StringLiteralTypeAnnotation;
export declare function assertStringLiteralTypeAnnotation(node: t.Node | null | undefined): asserts node is t.StringLiteralTypeAnnotation;
//# sourceMappingURL=string-literal-type-annotation.d.ts.map