added doga
This commit is contained in:
17
25_02_24/node_modules/mime/dist/src/Mime.d.ts
generated
vendored
Normal file
17
25_02_24/node_modules/mime/dist/src/Mime.d.ts
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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 {};
|
||||
Reference in New Issue
Block a user