support es6 module syntax import, detect-indent/detect-indent.d.ts

This commit is contained in:
vvakame 2015-07-28 01:45:25 +09:00
parent f6c8ca4719
commit bfa5c7e93a

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 = _;
}