Skip to content

Commit

Permalink
Change worker require to import to access proper typing..
Browse files Browse the repository at this point in the history
  • Loading branch information
aitrean committed Jan 10, 2018
1 parent 596bfe3 commit 69e9799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/libs/web-workers/scrypt-wrapper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IFullWallet, fromPrivateKey } from 'ethereumjs-wallet';
import { toBuffer } from 'ethereumjs-util';
const Worker = require('worker-loader!./workers/scrypt-worker.worker.ts');
import Worker from 'worker-loader!./workers/scrypt-worker.worker.ts';

export const fromV3 = (
keystore: string,
Expand Down

0 comments on commit 69e9799

Please sign in to comment.