Add types for 'karma-chai' package (#16050)

This commit is contained in:
JayAndCatchFire 2017-04-21 15:00:16 -05:00 committed by Andy
parent f8c3c17107
commit 2a866911d4
4 changed files with 38 additions and 0 deletions

12
types/karma-chai/index.d.ts vendored Normal file
View 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;
}

View File

@ -0,0 +1,3 @@
true.should.be.ok;
expect(true).to.be.ok;
assert.isTrue(true);

View 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"
]
}

View File

@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }