Open perkrlsn opened 1 month ago
Hmm, I'm not sure what the desired behavior is here, the TS type number
is much less restricted than rune
.
You could use frontmatter
to inject something like export type rune = number
and you could get this behavior 🤔, would that solve it for you?
rune
isn't a valid TypeScript type. Ideally runes would get converted to number
. Unless I'm completely mistaken.
Given the following simple example shouldn't
rune
be converted to anumber
?Input
Output