Skip to content

Commit

Permalink
Fix typescript build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Boult committed Feb 23, 2020
1 parent 6d5c73e commit 6eec43a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/baseVehicle.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BlueLinky from './index';
import EventEmitter from 'events';
import { EventEmitter } from 'events';
import { VehicleConfig } from './interfaces';

export default class BaseVehicle extends EventEmitter {
Expand Down
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import CanadianVehicle from './vehicles/canadianVehicle';
import EuropianVehicle from './vehicles/europianVehicle';
import { ALL_ENDPOINTS, REGIONS } from './constants';
import { buildFormData } from './util';
import EventEmitter from 'events';
import { EventEmitter } from 'events';

import {
BlueLinkyConfig,
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export default {
builtins(),
resolve({ preferBuiltins: true }),
typescript({
// skipLibCheck: true,
// abortOnError: false
}),
minify(),
commonjs(),
Expand Down
3 changes: 3 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,8 @@
},
"include": [
"lib"
],
"exclude": [
"node_modules"
]
}

0 comments on commit 6eec43a

Please sign in to comment.