Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Fix tsconfig
Rūdolfs Ošiņš committed 3 years ago
commit 46666fd6da8161b4be63e4d053fcd2a2f3ea454e
parent 30105e2845a2fa033a97306d6d89d1abfa4b9601
3 files changed +10 -2
modified package-lock.json
@@ -27,6 +27,7 @@
        "@playwright/test": "^1.32.1",
        "@sinonjs/fake-timers": "^10.0.2",
        "@sveltejs/vite-plugin-svelte": "^2.0.3",
+
        "@tsconfig/svelte": "^4.0.1",
        "@types/dompurify": "^3.0.0",
        "@types/katex": "^0.16.0",
        "@types/lodash": "^4.14.192",
@@ -623,6 +624,12 @@
        "vite": "^4.0.0"
      }
    },
+
    "node_modules/@tsconfig/svelte": {
+
      "version": "4.0.1",
+
      "resolved": "https://registry.npmjs.org/@tsconfig/svelte/-/svelte-4.0.1.tgz",
+
      "integrity": "sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==",
+
      "dev": true
+
    },
    "node_modules/@types/chai": {
      "version": "4.3.4",
      "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.4.tgz",
modified package.json
@@ -20,6 +20,7 @@
    "@playwright/test": "^1.32.1",
    "@sinonjs/fake-timers": "^10.0.2",
    "@sveltejs/vite-plugin-svelte": "^2.0.3",
+
    "@tsconfig/svelte": "^4.0.1",
    "@types/dompurify": "^3.0.0",
    "@types/katex": "^0.16.0",
    "@types/lodash": "^4.14.192",
modified tsconfig.json
@@ -1,4 +1,5 @@
{
+
  "extends": "@tsconfig/svelte/tsconfig.json",
  "include": ["src", "tests"],
  "exclude": ["node_modules/*"],
  "compilerOptions": {
@@ -7,13 +8,12 @@
    "types": ["svelte", "vite/client"],
    "sourceMap": true,
    "baseUrl": "./",
-
    "moduleResolution": "bundler",
+
    "moduleResolution": "node",
    "strict": true,
    "resolveJsonModule": true,
    "useDefineForClassFields": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
-
    "verbatimModuleSyntax": true,
    "skipLibCheck": true,
    "paths": {
      "@app/*": ["./src/*"],