{
  "compilerOptions": {
    "module": "commonjs",
    "lib": [
      "es7",
      "dom",
      "es2019"
    ],
    "esModuleInterop": true,
    "target": "ES2019",
    "removeComments": true,
    "preserveConstEnums": true,
    "sourceMap": true,
    "declaration": true,
    "declarationMap": true,
    "jsx": "react",
    "moduleResolution": "node",
    "skipLibCheck": true,
    "strict": true,
    "composite": true,
    "incremental": true,
    "baseUrl": ".",
    "allowJs": true,
    "rootDir": ".",
    "paths": {
      "@js-shared/*": [
        "../../js-shared/*"
      ]
    }
  },
  "exclude": [
    "**/lib/",
    "**/dist/",
    "**/node_modules/",
    "**/__tests__/"
  ]
}

{
  "compilerOptions": {
    "module": "commonjs",
    "lib": [
      "es7",
      "dom",
      "es2019"
    ],
    "esModuleInterop": true,
    "target": "ES2019",
    "removeComments": true,
    "preserveConstEnums": true,
    "sourceMap": true,
    "declaration": true,
    "declarationMap": true,
    "jsx": "react",
    "moduleResolution": "node",
    "skipLibCheck": true,
    "strict": true,
    "composite": true,
    "incremental": true,
    "baseUrl": ".",
    "allowJs": true,
    "rootDir": ".",
    "paths": {
      "flipper": [
        "./app/src"
      ],
      "flipper-plugin": [
        "./flipper-plugin/src"
      ],
      "eslint-plugin-flipper": [
        "./eslint-plugin-flipper/src"
      ],
      "flipper-*": [
        "./*/src"
      ],
      "@js-shared/*": [
        "../../js-shared/*"
      ]
    }
  },
  "exclude": [
    "**/lib/",
    "**/dist/",
    "**/node_modules/",
    "**/__tests__/"
  ]
}

Rollback removing paths from tsconfig.json
Rollback removing paths from tsconfig.json

Summary: Returning back paths config in tsconfig.json which I removed recently. Without them typescript compilation is required when exported APIs changed in dependency packages, e.g. in "flipper-plugin", otherwise lint/tests fails. So it's better to keep them for convenience.

Reviewed By: mweststrate

Differential Revision: D27619748

fbshipit-source-id: bb5929526ee2bf6bd06a5f15dbf898b7ca6deea7
