mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-12 19:59:02 +08:00
Merge pull request #17756 from Ebongarde/master
Added definitions for ebongarde-root
This commit is contained in:
3
types/ebongarde-root/ebongarde-root-tests.ts
Normal file
3
types/ebongarde-root/ebongarde-root-tests.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import {ROOT} from 'ebongarde-root';
|
||||
|
||||
console.log(ROOT);
|
||||
8
types/ebongarde-root/index.d.ts
vendored
Normal file
8
types/ebongarde-root/index.d.ts
vendored
Normal 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;
|
||||
22
types/ebongarde-root/tsconfig.json
Normal file
22
types/ebongarde-root/tsconfig.json
Normal 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"
|
||||
]
|
||||
}
|
||||
1
types/ebongarde-root/tslint.json
Normal file
1
types/ebongarde-root/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user