Commit Graph
11 Commits
Author SHA1 Message Date
Andy 947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Daniel Hritzkiv 48de5e38db Update list of "definitions by" for mime 2017-09-14 16:11:26 -04:00
Daniel Hritzkiv 16b590f251 Better typings for mime module; Fix mime tests 2017-09-14 15:18:39 -04:00
Daniel Hritzkiv b59dee5130 Update index.d.ts
[Changes:](https://github.com/broofa/node-mime/blob/master/CHANGELOG.md)

- lookup() renamed to getType()
- extension() renamed to getExtension()
- charset() and load() methods have been removed

Corrected `getType` arguments (there's no fallback), and added `force` to `define`
2017-09-14 13:45:04 -04:00
Andy 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Andy Hanson 4e63c30269 mime: lookup fallback parameter should be optional 2017-06-16 10:43:54 -07:00
Joel c144d1caaf Fixes declarations to namespace 2017-06-09 14:55:57 +01:00
Joel f3ac12f028 Fixes linting errors 2017-06-09 14:02:55 +01:00
Joel 4a53abc938 Adds tslint.json 2017-06-09 14:02:31 +01:00
Joel 887c45291d Adds fallback param to lookup function 2017-06-09 13:38:36 +01:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00