No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

mime.d.ts 591B

12345678910111213141516171819
  1. // Type definitions for mime
  2. // Project: https://github.com/broofa/node-mime
  3. // Definitions by: Jeff Goddard <https://github.com/jedigo>
  4. // Definitions: https://github.com/borisyankov/DefinitelyTyped
  5. // Imported from: https://github.com/soywiz/typescript-node-definitions/mime.d.ts
  6. declare module "mime" {
  7. export function lookup(path: string): string;
  8. export function extension(mime: string): string;
  9. export function load(filepath: string): void;
  10. export function define(mimes: Object): void;
  11. interface Charsets {
  12. lookup(mime: string): string;
  13. }
  14. export var charsets: Charsets;
  15. }