Skip to content

editor/code: Enable TypeScript's --exactOptionalPropertyTypes #15253

Open
@tetsuharuohzeki

Description

@tetsuharuohzeki

This issue proposes to enable TS' --exactOptionalPropertyTypes option.

To enable this option,

  • npm:@types/vscode chages their optional property types to accept undefined (e.g. bar?: Foo should be bar?: Foo | undefined if there is no problem).
  • Or we need to change our code to avoid to assign undefined to properties as marked as optional.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions