Ctrl K
ComunidadGuías…

tsconfig.json

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
  "extends": "@react-native/typescript-config",
  "compilerOptions": {
    "jsx": "react-jsx",
    "module": "esnext",
    "moduleSuffixes": [".ios", ".android", ".native", ""],
    "lib": ["dom", "esnext"],
    "types": ["node", "jest"],
    "paths": {
      "#/*": ["./src/*"],
      "crypto": ["./src/platform/crypto.ts"],
      /*
       * expo-file-system (since 57) and expo-image-manipulator (since 58) ship
       * an `exports` map without `./build/*`, which blocks the deep type
       * imports in src/platform/misc.web-check.d.ts under
       * `moduleResolution: "bundler"`. Type-check-only escape hatch.
       */
      "expo-file-system/build/*": ["./node_modules/expo-file-system/build/*"],
      "expo-image-manipulator/build/*": [
        "./node_modules/expo-image-manipulator/build/*"
      ],
      /*
       * The react-native exports condition (set by the base config) resolves
       * to the package's raw TypeScript source, which doesn't typecheck
       * against React Native 0.88. Use the compiled declarations instead,
       * where skipLibCheck applies.
       */
      "react-native-view-shot": [
        "./node_modules/react-native-view-shot/lib/index.d.ts"
      ],
    },
    "plugins": [
      {
        "name": "ts-plugin-sort-import-suggestions",
        "moveUpPatterns": ["#/", "@lingui/react/macro"],
        "moveDownPatterns": ["react-native-reanimated/lib"],
      }
    ]
  },
  "exclude": ["bskyweb", "bskyembed", "web-build", "dist"]
}