Merge pull request #17756 from Ebongarde/master

Added definitions for ebongarde-root
This commit is contained in:
Ryan Cavanaugh
2017-07-13 10:36:22 -07:00
committed by GitHub
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: Adrian Roach <https://github.com/Ebongarde>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types= "node" />
export const 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" }