Skip to content

Commit 837d688

Browse files
Gozalajacobheun
authored andcommitted
fix: change import such that TS can infer type
1 parent 9fab367 commit 837d688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const AbortController = require('abort-controller')
1+
const { AbortController } = require('abort-controller')
22
const retimer = require('retimer')
33

44
class TimeoutController extends AbortController {

0 commit comments

Comments
 (0)