From 887c45291d89b832ad02b6fbfba0da5da32248b2 Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 9 Jun 2017 13:38:36 +0100 Subject: [PATCH] Adds fallback param to lookup function --- types/mime/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mime/index.d.ts b/types/mime/index.d.ts index 73a094492b..449875034b 100644 --- a/types/mime/index.d.ts +++ b/types/mime/index.d.ts @@ -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;