From 8c3e71d691ba8934c804a9963a62f7fcaccf838b Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Fri, 22 Dec 2023 14:43:45 +0200 Subject: [PATCH] feat: correct workQueue def --- src/loaders/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loaders/index.ts b/src/loaders/index.ts index 4980cac..d87d9b5 100644 --- a/src/loaders/index.ts +++ b/src/loaders/index.ts @@ -33,7 +33,7 @@ export default class Loaders { private readonly use: Map>; private readonly test: (file: string) => boolean; private readonly loaders = new Map(); - private workQueue: PQueue; + private workQueue?: PQueue; constructor(options: LoadersOptions) { this.use = new Map(options.use.reverse());