FormatterParserSpecsProvider Interface

Interface that defines the functions required to be implemented to provide custom formatting and parsing of a custom quantity type.

Properties

Name Type Description
createFormatterSpec (unitSystem: UnitSystemKey) => Promise<FormatterSpec>    
createParserSpec (unitSystem: UnitSystemKey) => Promise<ParserSpec>    
quantityType QuantityTypeArg Custom quantity id  

Defined in

Last Updated: 20 April, 2024