@khanisak/temperature-converter
Version:
Javascript lightweight library to manipulate temperature units
28 lines (27 loc) • 847 B
TypeScript
import Temperature from './Temperature';
import IBaseTemperature from '../interfaces/IBaseTemperature';
import IUnit from '../interfaces/IUnit';
import { Celcius } from './Celcius';
import { Delisle } from './Delisle';
import { Fahrenheit } from './Fahrenheit';
import { Newton } from './Newton';
import { Reamur } from './Reamur';
import { Rankine } from './Rankine';
import { Romer } from './Romer';
declare class Kelvin extends Temperature implements IBaseTemperature {
unit: IUnit;
constructor(value: number);
static unit: {
name: string;
code: string;
};
toCelcius: () => Celcius;
toDelisle: () => Delisle;
toFahrenheit: () => Fahrenheit;
toKelvin: () => this;
toNewton: () => Newton;
toRankine: () => Rankine;
toReamur: () => Reamur;
toRomer: () => Romer;
}
export { Kelvin };