DenoDDeno
Powered by
abiA
Denoβ€’3y agoβ€’
3 replies
abi

Testing that advanced types work

I have a bunch of pretty advanced types, with generics and inferences all over the place.

What would be a good way to test that these all work as expected? In other words, I want to make sure that
MyCoolType<"foo bar baz">
MyCoolType<"foo bar baz">
is equal to the type
["foo", "bar", "baz"]
["foo", "bar", "baz"]
, as an example.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

express types
underscoreUunderscore / help
17mo ago
Deno Types
mostprodevMmostprodev / help
3y ago