TypeError: undefined is not an object (evaluating 'ecl.ordinal')
ex-tag opened this issue · comments
ex-tag commented
Getting an error when using a lower-case 'h' for level='h'
setting
TypeError: undefined is not an object (evaluating 'ecl.ordinal')
This error is fixed by using an upper-case H
, but the inputs should be type-checked.
See this stackoverflow question for reference
https://stackoverflow.com/questions/69042390/typescript-allow-only-uppercase-keys-in-object