Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415
  1. // Type definitions for mime 2.0
  2. // Project: https://github.com/broofa/node-mime
  3. // Definitions by: Jeff Goddard <https://github.com/jedigo>
  4. // Daniel Hritzkiv <https://github.com/dhritzkiv>
  5. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
  6. // Originally imported from: https://github.com/soywiz/typescript-node-definitions/mime.d.ts
  7. export as namespace mime;
  8. export interface TypeMap { [key: string]: string[]; }
  9. export function getType(path: string): string | null;
  10. export function getExtension(mime: string): string | null;
  11. export function define(mimes: TypeMap, force?: boolean): void;