@formatjs/ecma402-abstract
Version:
A collection of implementation for ECMAScript abstract operations
14 lines • 541 B
TypeScript
/**
* https://tc39.es/ecma402/#table-sanctioned-simple-unit-identifiers
*/
export declare const SANCTIONED_UNITS: string[];
export declare function removeUnitNamespace(unit: string): string;
/**
* https://tc39.es/ecma402/#table-sanctioned-simple-unit-identifiers
*/
export declare const SIMPLE_UNITS: string[];
/**
* https://tc39.es/ecma402/#sec-issanctionedsimpleunitidentifier
*/
export declare function IsSanctionedSimpleUnitIdentifier(unitIdentifier: string): boolean;
//# sourceMappingURL=IsSanctionedSimpleUnitIdentifier.d.ts.map