Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant