diff --git a/src/processor.worker.ts b/src/processor.worker.ts index 716bcf3..b9acd78 100644 --- a/src/processor.worker.ts +++ b/src/processor.worker.ts @@ -1,4 +1,4 @@ -/// +/// /// import * as platform from './platform'; diff --git a/tsconfig.json b/tsconfig.json index 6b98578..68705db 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -19,7 +19,7 @@ /** Requests the runtime types from the svelte modules by default. Needed for TS files or else you get errors. */ "types": ["svelte", "tampermonkey", "web-ext-types"], "incremental": true, /* Enable incremental compilation */ - "target": "es2021", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ + "target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'. */ //"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */ "outDir": "./dist", /* Redirect output structure to the directory. */ "strict": true, /* Enable all strict type-checking options. */