mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-11 03:27:47 +08:00
Adds fallback param to lookup function
This commit is contained in:
2
types/mime/index.d.ts
vendored
2
types/mime/index.d.ts
vendored
@@ -6,7 +6,7 @@
|
||||
// Imported from: https://github.com/soywiz/typescript-node-definitions/mime.d.ts
|
||||
|
||||
|
||||
export declare function lookup(path: string): string;
|
||||
export declare function lookup(path: string, fallback: string): string;
|
||||
export declare function extension(mime: string): string;
|
||||
export declare function load(filepath: string): void;
|
||||
export declare function define(mimes: Object): void;
|
||||
|
||||
Reference in New Issue
Block a user