Add types for jest-plugin-context

This commit is contained in:
Jonas Heinrich
2018-09-07 16:06:09 +02:00
parent 2ae8bc7a1c
commit 772ab820db
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"
}