Merge pull request #5093 from vvakame/fix-detect-indent

support es6 module syntax import, detect-indent/detect-indent.d.ts
This commit is contained in:
Masahiro Wakame
2015-07-28 01:47:42 +09:00

View File

@@ -4,6 +4,10 @@
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'detect-indent' {
function DetectIndent (dir: string, alt?: string): string;
export = DetectIndent;
interface DetectIndent {
(dir: string, alt?: string): string;
}
var _: DetectIndent;
export = _;
}