From bfa5c7e93ae7661534dfe69cb795b8260f2e8a51 Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 28 Jul 2015 01:45:25 +0900 Subject: [PATCH] support es6 module syntax import, detect-indent/detect-indent.d.ts --- detect-indent/detect-indent.d.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/detect-indent/detect-indent.d.ts b/detect-indent/detect-indent.d.ts index 3ce72401dc..0ee7cad076 100644 --- a/detect-indent/detect-indent.d.ts +++ b/detect-indent/detect-indent.d.ts @@ -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 = _; } +