Files
Frontend/25_02_24/node_modules/mime/dist/src/Mime.d.ts
szabomarton 13254e5623 added doga
2025-02-25 09:55:29 +01:00

18 lines
467 B
TypeScript

type TypeMap = {
[key: string]: string[];
};
export default class Mime {
#private;
constructor(...args: TypeMap[]);
define(typeMap: TypeMap, force?: boolean): this;
getType(path: string): string | null;
getExtension(type: string): string | null;
getAllExtensions(type: string): Set<string> | null;
_freeze(): this;
_getTestState(): {
types: Map<string, string>;
extensions: Map<string, string>;
};
}
export {};