Skip to content

Explore the use of ReadonlyArray in vscode.d.ts #42091

Closed

Description

The definition of the API contains quite some arrays, like vscode.window.visibleTextEdits, and usually the contract is that those arrays are 'readonly' or shallow copies. To express that more clearly we should investigate the use of ReadonlyArray<T> which defined the JS-array without any of it's modifying operations.

Activity

  1. jrieken commented on Jun 5, 2018

    @jrieken
    ContributorAuthor

    This happens case by case

  2. locked and limited conversation to collaborators on Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

apidebt

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions