faster-babel-types
Version:
5 lines • 459 B
TypeScript
import type * as t from '@babel/types';
export declare function tsTypeParameter(constraint: t.TSType | null | undefined, _default: t.TSType | null | undefined, name: string): t.TSTypeParameter;
export declare function isTSTypeParameter(node: t.Node | null | undefined): node is t.TSTypeParameter;
export declare function assertTSTypeParameter(node: t.Node | null | undefined): asserts node is t.TSTypeParameter;
//# sourceMappingURL=ts-type-parameter.d.ts.map