mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-28 04:50:03 +00:00
Merge pull request #17254 from DefinitelyTyped/mime-lookup
mime: lookup fallback parameter should be optional
This commit is contained in:
2
types/mime/index.d.ts
vendored
2
types/mime/index.d.ts
vendored
@@ -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