Open
Description
Some properties in extension API like
vscode/src/vscode-dts/vscode.d.ts
Line 10349 in 0dfcf2c
let
because they can change, but this also implies that extensions can set them. That isn't allowed, only vscode can change them. Some similar properties already use const
. We should normalize these to const
everywhere to avoid confusion.
readonly
communicates the intent a little better, but this is a namespace, not properties on an interface. But I think it's clear from the name and behavior that these properties will change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment