Adds fallback param to lookup function

This commit is contained in:
Joel
2017-06-09 13:38:36 +01:00
committed by GitHub
parent a2415a9ba3
commit 887c45291d

View File

@@ -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;