Skip to content

Commit

Permalink
Fix typedefs for testlab
Browse files Browse the repository at this point in the history
  • Loading branch information
bajtos committed Apr 26, 2017
1 parent 75f3e1f commit d41ee54
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions packages/testlab/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Copyright IBM Corp. 2013,2017. All Rights Reserved.
// Node module: @loopback/testlab
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

export * from './lib/testlab';
5 changes: 5 additions & 0 deletions packages/testlab/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
// Copyright IBM Corp. 2013,2017. All Rights Reserved.
// Node module: @loopback/testlab
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

module.exports = require('./lib/testlab');
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/testlab/src/testlab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT

/// <reference path="./should-as-function.d.ts" />
/// <reference path="../should-as-function.d.ts" />

const shouldAsFunction: Internal = require('should/as-function');
import sinon = require('sinon');
Expand Down
3 changes: 2 additions & 1 deletion packages/testlab/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"moduleResolution": "node",
"outDir": "./lib",
"strictNullChecks": true,
"target": "es5"
"target": "es5",
"declaration": true
},
"include": [
"src"
Expand Down

0 comments on commit d41ee54

Please sign in to comment.