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 4.4 support #123

Closed
younho9 opened this issue Sep 23, 2021 · 1 comment
Closed

TypeScript 4.4 support #123

younho9 opened this issue Sep 23, 2021 · 1 comment

Comments

@younho9
Copy link
Contributor

younho9 commented Sep 23, 2021

Could I request upgrade TypeScript compiler v4.4.2?

Currently tsd can't recognize symbol pattern index signature, but tsc can.

// An index signature parameter type must be either string or number.
expectType<{ 
    [x: symbol]: string
  }>({
    [Symbol('one')]: 'one',
    [Symbol('two')]: 'two',
    [Symbol('three')]: 'three',
  });

Also is there any update on this issue? #47

@sindresorhus
Copy link
Collaborator

Fixed by #124

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