mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
added definitions for detect-indent
This commit is contained in:
+8
@@ -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);
|
||||
Vendored
+9
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user