Search
Feedback
Setup for Free
EC
Effect Community
•
3y ago
•
2 replies
ahrjarrett
TypeScript: Unexpected Result with Type Check
anybody know why this happens
? i
've never encountered this before
type _ = ` ` extends `${number}` ? true : false // ^? true
type _ = ` ` extends `${number}` ? true : false // ^? true
Effect Community
Join
Production-grade applications in TypeScript.
5,916
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
type
_
=
` `
extends
`${
number
}`
?
true
:
false
// ^? true
type
_
=
` `
extends
`${
number
}`
?
true
:
false
// ^? true
Similar Threads
Unexpected Type Check Result in TypeScript
EC
Effect Community / typescript⎬
3y ago
Understanding Unexpected Return Type in TypeScript Pipeline
EC
Effect Community / effect-🚀
2y ago
Comparing Equal Objects: Unexpected Result
EC
Effect Community / effect-🚀
3y ago
Help needed with type checking a TypeScript snippet
EC
Effect Community / typescript⎬
15mo ago