mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +00:00
Merge pull request #17254 from DefinitelyTyped/mime-lookup
mime: lookup fallback parameter should be optional
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user