Merge pull request #17254 from DefinitelyTyped/mime-lookup

mime: lookup fallback parameter should be optional
This commit is contained in:
Nathan Shively-Sanders
2017-06-20 09:19:03 -07:00
committed by GitHub

View File

@@ -7,7 +7,7 @@
export as namespace mime;
export function lookup(path: string, fallback: string): string;
export function lookup(path: string, fallback?: string): string;
export function extension(mime: string): string;
export function load(filepath: string): void;
export function define(mimes: { [key: string]: any }): void;