UNPKG

@specs-feup/lara

Version:

A js port of the popular framework for building source-to-source compilers

16 lines 615 B
import SiUnit from "./SiUnit.js"; /** * ! If you are ever in need of using this class, please PLEASE refactor it. * ! Just do it. I did not have the time to do it myself and did not want to break compatibility with the old Margot APIs. */ export default class EnergyUnit extends SiUnit { constructor(siModifier?: string); static joule(): SiUnit; static milli(): SiUnit; static micro(): SiUnit; /** * Override that discards parameter 'unitHasBaseName' and always requires the suffix 'J'. */ convert(value: number, unit: string): number; } //# sourceMappingURL=EnergyUnit.d.ts.map