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

Typescript function type parameters multiline brackets support #236

Open
HironTez opened this issue May 13, 2024 · 2 comments
Open

Typescript function type parameters multiline brackets support #236

HironTez opened this issue May 13, 2024 · 2 comments
Labels
bug Something isn't working high-priority High priority issue roadmap Future features that could be integrated

Comments

@HironTez
Copy link

Hi. This extension doesn't work with multiline brackets of type parameters. Example:

const result = myFunc<
  console.log("🚀 ~ result:", result)
  MyType,
  MyType
>();
@HironTez
Copy link
Author

Also the latest version just doesn't work with function multiline parameter brackets. Nothing happens if i try to log the 'result' in the following example

const result = myFunc(
  'myString',
  'myString',
);

@HironTez
Copy link
Author

Also it doesn't work with broken lines

const mySuperSuperSuperSuperSuperSuperSuperSuperSuperSuperLongResult =
  myFunc();
const mySuperSuperSuperSuperSuperSuperSuperSuperSuperSuperLongResult =
  console.log("🚀 ~ mySuperSuperSuperSuperSuperSuperSuperSuperSuperSuperLongResult:", mySuperSuperSuperSuperSuperSuperSuperSuperSuperSuperLongResult)
  myFunc();

@Chakroun-Anas Chakroun-Anas added bug Something isn't working medium-priority Medium priority issue high-priority High priority issue roadmap Future features that could be integrated and removed medium-priority Medium priority issue labels Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority High priority issue roadmap Future features that could be integrated
Projects
None yet
Development

No branches or pull requests

2 participants