We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
computed property unique symbols declaration emit
Playground Link
class T { static readonly ['A a']: unique symbol; } let x = { foo:T['A a'] } as const;
The type of x is emitted as { readonly foo: typeof T.A a; } which is invlaid.
x
{ readonly foo: typeof T.A a; }
Declaration emit should be valid
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
π Search Terms
computed property unique symbols declaration emit
π Version & Regression Information
β― Playground Link
Playground Link
π» Code
π Actual behavior
The type of
x
is emitted as{ readonly foo: typeof T.A a; }
which is invlaid.π Expected behavior
Declaration emit should be valid
Additional information about the issue
No response
The text was updated successfully, but these errors were encountered: