monk-import-export
Version:
Simple import & export sorting ESLint plugin
11 lines (9 loc) • 299 B
text/typescript
export type NodeKind = 'value' | 'type' | 'typeof';
export type NodeType = 'Identifier' | 'Keyword' | 'Punctuator' | 'Block' | 'Line' | 'Spaces' | 'Newline';
export interface Node {
exportKind?: NodeKind;
importKind?: NodeKind;
source: { value: string };
type: NodeType;
value: string;
}