Skip to content

Commit

Permalink
fix: use CJS imports (#374)
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Fuentes <me@metcoder.dev>
  • Loading branch information
SimenB and metcoder95 committed Jul 20, 2023
1 parent 1273bda commit edf8dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
@@ -1,6 +1,6 @@
import { Worker, MessageChannel, MessagePort, receiveMessageOnPort } from 'worker_threads';
import { once } from 'events';
import EventEmitterAsyncResource from 'eventemitter-asyncresource';
import EventEmitterAsyncResource = require('eventemitter-asyncresource');
import { AsyncResource } from 'async_hooks';
import { cpus } from 'os';
import { fileURLToPath, URL } from 'url';
Expand Down

0 comments on commit edf8dc4

Please sign in to comment.