mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
10 lines
234 B
TypeScript
10 lines
234 B
TypeScript
import { TypeMap } from "./index";
|
|
|
|
export default class Mime {
|
|
constructor(mimes: TypeMap);
|
|
|
|
getType(path: string): string | null;
|
|
getExtension(mime: string): string | null;
|
|
define(mimes: TypeMap, force?: boolean): void;
|
|
}
|