mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Add types for 'karma-chai' package (#16050)
This commit is contained in:
parent
f8c3c17107
commit
2a866911d4
12
types/karma-chai/index.d.ts
vendored
Normal file
12
types/karma-chai/index.d.ts
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
// Type definitions for karma-chai 0.1
|
||||
// Project: http://xdissent.github.io/karma-chai
|
||||
// Definitions by: Jay Sherby <https://github.com/JayAndCatchFire>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
import chai = require('chai');
|
||||
|
||||
declare global {
|
||||
var assert: Chai.AssertStatic;
|
||||
var expect: Chai.ExpectStatic;
|
||||
var should: Chai.Should;
|
||||
}
|
||||
3
types/karma-chai/karma-chai-tests.ts
Normal file
3
types/karma-chai/karma-chai-tests.ts
Normal file
@ -0,0 +1,3 @@
|
||||
true.should.be.ok;
|
||||
expect(true).to.be.ok;
|
||||
assert.isTrue(true);
|
||||
22
types/karma-chai/tsconfig.json
Normal file
22
types/karma-chai/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",
|
||||
"karma-chai-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/karma-chai/tslint.json
Normal file
1
types/karma-chai/tslint.json
Normal file
@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user