mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-24 11:29:30 +08:00
first batch: the easy pickings - as per https://github.com/borisyankov/DefinitelyTyped/issues/115 - added DT headers (scraped creators from git history) - added tests - some modifications - added CONTRIBUTORS.md for the substantial defs (>50 LOC)
14 lines
222 B
TypeScript
14 lines
222 B
TypeScript
/// <reference path="mime.d.ts" />
|
|
|
|
import mime = require('mime');
|
|
|
|
var str: string;
|
|
var obj: Object;
|
|
|
|
str = mime.lookup(str);
|
|
str = mime.extension(str);
|
|
mime.load(str);
|
|
mime.define(obj);
|
|
|
|
str = mime.charsets.lookup(str);
|