What is the tsconfig.json file for?

The below is the tsconfig.json file that comes by default when creating a plugin using kibana plugin generator.

What is this file for?

The below are the contents in the same.

  "extends": "../../tsconfig.json",
  "compilerOptions": {
    "outDir": "./target/types",
  "include": [
  "exclude": [],
  "references": [
    { "path": "../../src/core/tsconfig.json" }

It is just the standard file for TypeScript project definitions. Without it the tsc compiler and your IDE would not understand your code to help with your types, where code is located, etc.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.