added definitions for detect-indent

This commit is contained in:
Bart van der Schoor
2014-04-01 00:36:13 +02:00
parent 17bcd6dda4
commit 172625be86
2 changed files with 17 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
/// <reference path="detect-indent-tests.d.ts" />
import di = require('detect-indent');
var str: string;
str = di(str);
str = di(str, str);
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for detect-indent 0.1.3
// Project: https://github.com/sindresorhus/detect-indent
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
declare module 'detect-indent' {
function DetectIndent (dir: string, alt?: string): string;
export = DetectIndent;
}