Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace for open curly ('{') after close bracket (']') is removed in function return types #3269

Closed
DanielRosenwasser opened this issue May 26, 2015 · 2 comments
Labels
Bug A bug in TypeScript Duplicate An existing issue was already created

Comments

@DanielRosenwasser
Copy link
Member

For instance, in the following example where we declare the return type as an array type, we go from

function foo(): blah[] {/**/

to

function foo(): blah[]{
/**/

Notice the lack of whitespace between the blah[] and the {.

@DanielRosenwasser DanielRosenwasser added the Bug A bug in TypeScript label May 26, 2015
@DickvdBrink
Copy link
Contributor

Refs #2628 (duplicate)

@DanielRosenwasser
Copy link
Member Author

Thanks @DickvdBrink!

@DanielRosenwasser DanielRosenwasser added the Duplicate An existing issue was already created label May 26, 2015
@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
Bug A bug in TypeScript Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants