Skip to content

Commit

Permalink
[FIX] Fixed exports and tsconfig. (#126)
Browse files Browse the repository at this point in the history
* fix: Fixed missing exports.

* fix: Update tsconfig lib to ES2018 and target to ES2015.

This will fix the error on handlePromise inside
throttle-async-executor.ts

* Revert target to ES6.
  • Loading branch information
tripodsgames authored Oct 22, 2021
1 parent 4051dd4 commit a8f3d74
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/delegate/delegate.index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { delegate } from './delegate';
export { delegatify } from './delegatify';
3 changes: 2 additions & 1 deletion src/exec-time/exec-time.index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { execTime } from './exec-time';
export { ReportFunction, ExactTimeReportData, ExactTimeReportable } from './exec-time.model';
export { ExactTimeReportable, ExactTimeReportData, ReportFunction } from './exec-time.model';
export { execTimify } from './exec-timify';
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"esModuleInterop": true,
"skipLibCheck": true,
"lib": [
"es2017"
"ES2018"
],
"module": "ESNext",
"moduleResolution": "node",
"outDir": "./dist/esm",
"sourceMap": true,
"target": "es6",
"target": "ES6",
"typeRoots": [
"./node_modules/@types"
]
Expand All @@ -23,4 +23,4 @@
"include": [
"src/**/*.spec.ts"
]
}
}

0 comments on commit a8f3d74

Please sign in to comment.