Skip to content

[bug] support nulling out extended tsconfig.json properties #768

Closed
@mjames-c

Description

@mjames-c

simple repro:

// tsconfig.base.json
{
  "compilerOptions": {
    "types": []
  },
}

// tsconfig.json
{
  "compilerOptions": {
    "types": null
  },
  "extends": "./tsconfig.base.json"
}

then run the below and note that compilerOptions.types is still set to the empty array, [].

$ built/local/tsgo -p path/to/tsconfig.json -showConfig
{
  ...
  "types": [],
  ...
}

Metadata

Metadata

Assignees

Labels

Domain: tsconfigRelated to tsconfig parsing, loading

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions