5 lines
131 B
TypeScript
Raw Normal View History

export function parse(source: string): string[];
export function parse<T>(source: string, transform: (value: string) => T): T[];