mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
added types for which-pm-runs (#37278)
This commit is contained in:
parent
2fddf863b3
commit
3b65ce5735
8
types/which-pm-runs/index.d.ts
vendored
Normal file
8
types/which-pm-runs/index.d.ts
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
// Type definitions for which-pm-runs 1.0
|
||||
// Project: https://github.com/zkochan/packages/tree/master/which-pm-runs
|
||||
// Definitions by: Chuah Chee Shian <https://github.com/shian15810>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function whichPMRuns(): undefined | { name: string; version: string };
|
||||
|
||||
export = whichPMRuns;
|
||||
23
types/which-pm-runs/tsconfig.json
Normal file
23
types/which-pm-runs/tsconfig.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictFunctionTypes": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"which-pm-runs-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/which-pm-runs/tslint.json
Normal file
1
types/which-pm-runs/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
3
types/which-pm-runs/which-pm-runs-tests.ts
Normal file
3
types/which-pm-runs/which-pm-runs-tests.ts
Normal file
@ -0,0 +1,3 @@
|
||||
import whichPMRuns = require('which-pm-runs');
|
||||
|
||||
whichPMRuns();
|
||||
Loading…
Reference in New Issue
Block a user