Merge pull request #28711 from jonasheinrich/jest-plugin-context

Add types for jest-plugin-context
This commit is contained in:
Mine Starks
2018-09-07 16:56:16 -07:00
committed by GitHub
4 changed files with 37 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for jest-plugin-context 2.9
// Project: https://github.com/negativetwelve/jest-plugins/tree/master/packages/jest-plugin-context
// Definitions by: Jonas Heinrich <https://github.com/jonasheinrich>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="jest" />
declare var context: jest.Describe;
@@ -0,0 +1 @@
context(0, () => {});
+24
View 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-context-tests.ts"
]
}
+3
View File
@@ -0,0 +1,3 @@
{
"extends": "dtslint/dt.json"
}