mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Add types for jest-plugin-set (#28712)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
2b9558d869
commit
8c4d561427
6
types/jest-plugin-set/index.d.ts
vendored
Normal file
6
types/jest-plugin-set/index.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
// Type definitions for jest-plugin-set 2.9
|
||||
// Project: https://github.com/negativetwelve/jest-plugins/tree/master/packages/jest-plugin-set
|
||||
// Definitions by: Jonas Heinrich <https://github.com/jonasheinrich>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare function set(name: string, block: () => void): void;
|
||||
1
types/jest-plugin-set/jest-plugin-set-tests.ts
Normal file
1
types/jest-plugin-set/jest-plugin-set-tests.ts
Normal file
@@ -0,0 +1 @@
|
||||
set('variableA', () => {});
|
||||
24
types/jest-plugin-set/tsconfig.json
Normal file
24
types/jest-plugin-set/tsconfig.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"jest-plugin-set-tests.ts"
|
||||
]
|
||||
}
|
||||
3
types/jest-plugin-set/tslint.json
Normal file
3
types/jest-plugin-set/tslint.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
Reference in New Issue
Block a user