UNPKG

@khanisak/temperature-converter

Version:

Javascript lightweight library to manipulate temperature units

28 lines (27 loc) 848 B
import IBaseTemperature from '../interfaces/IBaseTemperature'; import IUnit from '../interfaces/IUnit'; import { Celcius } from './Celcius'; import { Delisle } from './Delisle'; import { Fahrenheit } from './Fahrenheit'; import { Kelvin } from './Kelvin'; import { Newton } from './Newton'; import { Rankine } from './Rankine'; import { Reamur } from './Reamur'; import Temperature from './Temperature'; declare class Romer extends Temperature implements IBaseTemperature { unit: IUnit; constructor(value: number); static unit: { name: string; code: string; }; toCelcius: () => Celcius; toDelisle: () => Delisle; toFahrenheit: () => Fahrenheit; toKelvin: () => Kelvin; toNewton: () => Newton; toRankine: () => Rankine; toReamur: () => Reamur; toRomer: () => this; } export { Romer };