TS Error with datetimeFormats - no support using custom schemas? #1164
Unanswered
felixzapata
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Following the Type-safe resources with schema section example in the TypeScript support area, I'm trying to use also a custom schema for the datetimeFormats.
The schema for the dates:
But when I put incorrectly a property name in the datetimeFormats object, the TypeScript checker refers to a core file instead of my scheme file.
If a set an incorrect property for the numberFormats object, the checker refers to my scheme file.
Am I doing something wrong? Is this a bug?
Beta Was this translation helpful? Give feedback.
All reactions