Skip to content

Commit

Permalink
fix: typings fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon-mario committed Mar 5, 2019
1 parent 750831f commit a7bb94d
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 45 deletions.
7 changes: 6 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
export {};
export * from "./errors";
export * from "./facade";
export * from "./functions";
export * from "./interfaces";
export * from "./testFacade";
export * from "./utils";
32 changes: 6 additions & 26 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"name": "@js-items/foundation",
"version": "0.0.0-development",
"description": "Provides set of interfaces and tests for concrete implementations of js-items repositories",
"main": "./dist/index.js",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc",
Expand All @@ -25,7 +26,7 @@
"@kube-js/semantic-release": "1.0.7",
"@kube-js/tscommons": "1.0.3",
"@types/btoa": "1.2.2",
"@types/jest": "24.0.9",
"@types/jest": "^24.0.9",
"@types/node": "11.10.4",
"jest": "24.1.0",
"rimraf": "2.6.3",
Expand Down
21 changes: 6 additions & 15 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import * as errors from "./errors/index";
import * as facade from "./facade";
import * as functions from "./functions";
import * as interfaces from "./interfaces";
import * as testFacade from "./testFacade";
import * as utils from "./utils";

module.exports = {
...functions,
...errors,
...interfaces,
...utils,
facade,
testFacade
};
export * from "./errors/index";
export * from "./facade";
export * from "./functions";
export * from "./interfaces";
export * from "./testFacade";
export * from "./utils";

0 comments on commit a7bb94d

Please sign in to comment.