diff --git a/ts/biome.json b/ts/biome.json index 1ac6ae6..8d8decd 100644 --- a/ts/biome.json +++ b/ts/biome.json @@ -22,7 +22,10 @@ "linter": { "enabled": true, "rules": { - "recommended": true + "recommended": true, + "suspicious": { + "noExplicitAny": "off" + } } }, "javascript": { diff --git a/ts/src/cmd/worker.ts b/ts/src/cmd/worker.ts index f53c787..2f27cbe 100644 --- a/ts/src/cmd/worker.ts +++ b/ts/src/cmd/worker.ts @@ -127,7 +127,7 @@ export class WorkerCommand extends Command { webpackConfigHook: (config) => { if (!config.resolve) config.resolve = {} if (!config.resolve.alias) config.resolve.alias = {} - config.resolve!.alias = { + config.resolve.alias = { '#': path.resolve(process.cwd(), 'src/'), ...config.resolve!.alias, }