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