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

insertSpaceBeforeTypeAssertion #108

Closed
mastef opened this issue Oct 19, 2017 · 5 comments
Closed

insertSpaceBeforeTypeAssertion #108

mastef opened this issue Oct 19, 2017 · 5 comments

Comments

@mastef
Copy link

mastef commented Oct 19, 2017

Any chance this could be an option?

Similar behaviour to insertSpaceAfterTypeAssertion

function RGBtoHSB( param1: Int, param2: Int, param3: Int ) would become
function RGBtoHSB( param1 : Int, param2 : Int, param3 : Int )

@vvakame
Copy link
Owner

vvakame commented Oct 26, 2017

Do you want to something like... insertSpaceBeforeTypeAssertion ?
It is not implemented in here https://github.com/Microsoft/TypeScript/blob/8fc651870e44efd12598a42ae84fb0e19067fcfd/src/services/types.ts#L563
If you want it, You should open issue on TypeScript repository. 👍

@mastef
Copy link
Author

mastef commented Oct 26, 2017

Ah, gotcha - microsoft/TypeScript#19493

@mastef
Copy link
Author

mastef commented Jan 8, 2018

Good news - it has been now implemented as insertSpaceBeforeTypeAnnotation 😄

@vvakame
Copy link
Owner

vvakame commented Jan 10, 2018

awesome works! 👏

@vvakame
Copy link
Owner

vvakame commented Feb 19, 2018

sorry for late. I just published v7.1.0. please check it!

@vvakame vvakame closed this as completed Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants