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
This is what I finally came up with that works (at least according to TypeScript, I haven't got my test suit to progress to this point yet with Astral):
Yes, because TypeScript syntax is unavailable in JavaScript modules in no-build projects that have type safety via TypeScript JSDoc. This type of thing would become less cumbersome if microsoft/TypeScript#27387 is ever resolved.
It would be good to export (perhaps as just a type) the
Locator
class, to make it easier to cast the results in type-safe JS:I can't figure out the most elegant way, or any way really to get things working with the current API.
For some reason this results in a deno-ts error that
}
is expected where the<
after the['locator']
is:The text was updated successfully, but these errors were encountered: