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

bug: don't override user defined type alias #66

Open
2 tasks done
jordimarimon opened this issue Sep 17, 2022 · 0 comments
Open
2 tasks done

bug: don't override user defined type alias #66

jordimarimon opened this issue Sep 17, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jordimarimon
Copy link
Owner

jordimarimon commented Sep 17, 2022

Prerequisites

Version

N/A

Current Behavior

Sometimes type alias are override it

Expected Behavior

User defined type alias shouldn't be override it

Steps to Reproduce

Sample code:

type StringAlias = string;

export const name: StringAlias = 'John Doe';

Sample output:

{
  "kind": "variable",
  "name": "name",
  "type": {
    "text": "string"
  },
  "default": "'John Doe'"
}

Code Reproduction URL

No response

Additional Information

This could be related with the following issue type interning.

@jordimarimon jordimarimon self-assigned this Sep 17, 2022
@jordimarimon jordimarimon added the bug Something isn't working label Sep 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant