@opentui/core
Version:
OpenTUI is a TypeScript library on a native Zig core for building terminal user interfaces (TUIs)
6 lines (5 loc) • 363 B
TypeScript
export declare const extensionToFiletype: Map<string, string>;
export declare const basenameToFiletype: Map<string, string>;
export declare function extToFiletype(extension: string): string | undefined;
export declare function pathToFiletype(path: string): string | undefined;
export declare function infoStringToFiletype(infoString: string): string | undefined;