Added ebongarde-root type definition.

This commit is contained in:
Adrian (Grim) Roach
2017-07-04 19:59:31 -07:00
parent 0d2095987d
commit da9805b795
4 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
import {ROOT} from 'ebongarde-root'
console.log(ROOT)

8
types/ebongarde-root/index.d.ts vendored Normal file
View File

@@ -0,0 +1,8 @@
// Type definitions for ebongarde-root 1.7
// Project: https://github.com/Ebongarde/ebongarde-root#readme
// Definitions by: My Self <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types= "node" />
export declare var ROOT: string;

View File

@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"ebongarde-root-tests.ts"
]
}

View File

@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }