FormatterParserSpecsProvider Interface

Beta  

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

Methods

Name Description
createFormatterSpec(unitSystem: UnitSystemKey): Promise<FormatterSpec>    
createParserSpec(unitSystem: UnitSystemKey): Promise<ParserSpec>    

Properties

Name Type Description
quantityType QuantityTypeArg    

Defined in

Last Updated: 11 June, 2024