Skip to content

Commit a7bb94d

Browse files
committed
fix: typings fix
1 parent 750831f commit a7bb94d

File tree

5 files changed

+22
-45
lines changed

5 files changed

+22
-45
lines changed

dist/index.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
export {};
1+
export * from "./errors";
2+
export * from "./facade";
3+
export * from "./functions";
4+
export * from "./interfaces";
5+
export * from "./testFacade";
6+
export * from "./utils";

dist/index.js

Lines changed: 6 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"name": "@js-items/foundation",
33
"version": "0.0.0-development",
44
"description": "Provides set of interfaces and tests for concrete implementations of js-items repositories",
5-
"main": "./dist/index.js",
5+
"main": "dist/index.js",
6+
"types": "dist/index.d.ts",
67
"scripts": {
78
"clean": "rimraf dist",
89
"build": "npm run clean && tsc",
@@ -25,7 +26,7 @@
2526
"@kube-js/semantic-release": "1.0.7",
2627
"@kube-js/tscommons": "1.0.3",
2728
"@types/btoa": "1.2.2",
28-
"@types/jest": "24.0.9",
29+
"@types/jest": "^24.0.9",
2930
"@types/node": "11.10.4",
3031
"jest": "24.1.0",
3132
"rimraf": "2.6.3",

src/index.ts

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
import * as errors from "./errors/index";
2-
import * as facade from "./facade";
3-
import * as functions from "./functions";
4-
import * as interfaces from "./interfaces";
5-
import * as testFacade from "./testFacade";
6-
import * as utils from "./utils";
7-
8-
module.exports = {
9-
...functions,
10-
...errors,
11-
...interfaces,
12-
...utils,
13-
facade,
14-
testFacade
15-
};
1+
export * from "./errors/index";
2+
export * from "./facade";
3+
export * from "./functions";
4+
export * from "./interfaces";
5+
export * from "./testFacade";
6+
export * from "./utils";

0 commit comments

Comments
 (0)