UNPKG

@khanisak/temperature-converter

Version:

Javascript lightweight library to manipulate temperature units

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