Skip to content

Allow primitive types in JSDoc to start wtih uppercase letters#14284

Merged
mhegazy merged 1 commit intomasterfrom
jsDocUpperCasePrimitiveTypes
Feb 24, 2017
Merged

Allow primitive types in JSDoc to start wtih uppercase letters#14284
mhegazy merged 1 commit intomasterfrom
jsDocUpperCasePrimitiveTypes

Conversation

@mhegazy
Copy link
Contributor

@mhegazy mhegazy commented Feb 24, 2017

This PR:

  • Treats Number, String, Boolean, Object, Void, Undefinded, Null, array and promise in JSDoc as number, string, boolean, any, void, undefined, null, any[] and Promise<any> respectively.
  • Remove unused JSDocNullKeyword, JSDocUndefinedKeyword and JSDocNevereyword
  • Add support for nullable JSDoc types (e.g. ?number => number | null)

Fixes #14230
Fixes #14242

@mhegazy mhegazy merged commit 1a579d1 into master Feb 24, 2017
@mhegazy mhegazy deleted the jsDocUpperCasePrimitiveTypes branch February 24, 2017 22:31
@mhegazy mhegazy added the Salsa label Mar 1, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants