Skip to content

Fix display for literal members#8125

Merged
DanielRosenwasser merged 5 commits into
masterfrom
fixDisplayForStringyMembers
Apr 18, 2016
Merged

Fix display for literal members#8125
DanielRosenwasser merged 5 commits into
masterfrom
fixDisplayForStringyMembers

Conversation

@DanielRosenwasser
Copy link
Copy Markdown
Member

Fixes #606 (comment)

A picture of the old behavior for convenience:
image

Comment thread src/compiler/checker.ts

function writeTypeofSymbol(type: ObjectType, typeFormatFlags?: TypeFormatFlags) {
function writeTypeOSymbol(type: ObjectType, typeFormatFlags?: TypeFormatFlags) {
writeKeyword(writer, SyntaxKind.TypeOfKeyword);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you meant to rename this function like this. 😄

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't use an apostrophe. 😉

@sheetalkamat
Copy link
Copy Markdown
Member

👍

@DanielRosenwasser DanielRosenwasser merged commit 0a2a8cc into master Apr 18, 2016
@DanielRosenwasser DanielRosenwasser deleted the fixDisplayForStringyMembers branch April 18, 2016 17:33
@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.

4 participants