-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Closed
Labels
apidebtCode quality issuesCode quality issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
TypeScript will introduce support for strict null check and explicit handling of null
and undefined
- microsoft/TypeScript#7140. This is a great opportunity for us to make the API more explicit and hopefully a chance to prevent programming errors. Parts of the API can move from jsdoc comments into type annotations. For instance, the active editor is declared like this today:
/**
* The currently active editor or `undefined`. ...
*/
export let activeTextEditor: TextEditor;
and we can move jsdoc type info back into code like so
/**
* The currently...
*/
export let activeTextEditor: TextEditor | undefined;
Metadata
Metadata
Assignees
Labels
apidebtCode quality issuesCode quality issuesfeature-requestRequest for new features or functionalityRequest for new features or functionalityverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded