UNPKG

@khanisak/temperature-converter

Version:

Javascript lightweight library to manipulate temperature units

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