You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
See #57. I haven't used this syntax extensively but it surprised me as well. I expected it to work like expectType from tsd, where the token you're passing as the expectation exists in "type space", so that you can write import type { Foo as Bar } from "baz"; expectType<Bar>(f());. You can't do that, it just looks at the name TS assigns to the type, as a string.
Feels like this should be documented.
The text was updated successfully, but these errors were encountered: