UNPKG

ast-types

Version:

Esprima-compatible implementation of the Mozilla JS Parser API

7 lines (6 loc) 220 B
export declare type Fork = { use<T>(plugin: Plugin<T>): T; }; export declare type Plugin<T> = (fork: Fork) => T; export declare type Def = Plugin<void>; export declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;