diff --git a/tsconfig.json b/tsconfig.json index fb82846f..5ff68edb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,6 +4,7 @@ "target": "esnext", "module": "esnext", "moduleResolution": "bundler", + "allowImportingTsExtensions": true, "esModuleInterop": true, "paths": { // https://github.com/getsentry/sentry-electron/issues/957 diff --git a/xo.config.cjs b/xo.config.cjs index bc821146..d5a35112 100644 --- a/xo.config.cjs +++ b/xo.config.cjs @@ -2,6 +2,11 @@ module.exports = { prettier: true, + settings: { + n: { + typescriptExtensionMap: [], + }, + }, rules: { "@typescript-eslint/no-dynamic-delete": "off", "arrow-body-style": "error",