Closed perkrlsn closed 1 month ago
Does the following work?
type_mappings:
TestType: "number"
The main idea behind the type mappings is to allow for specifying types that are from a different package, not to override types.
If it doesn't work, what you could do is exclude the file that contains type TestType string
, and rather use frontmatter to manually add the Typescript type you want to see.
Given the following simple example.
Input
Output
Any help with the
TypeMappings
feature would be appreciated.