mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-15 04:07:04 +00: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;
|
|
}
|