measure-convert
Version:
JS/TS package for managing units of measurement. Convert, add, subtract, multiply, divide, and compare units of measurement.
35 lines (34 loc) • 1.26 kB
TypeScript
import { Unit } from "./Unit";
export declare class UnitVolume extends Unit {
static liters: UnitVolume;
static megaliters: UnitVolume;
static kiloliters: UnitVolume;
static deciliters: UnitVolume;
static centiliters: UnitVolume;
static milliliters: UnitVolume;
static cubicKilometers: UnitVolume;
static cubicMeters: UnitVolume;
static cubicDecimeters: UnitVolume;
static cubicMillimeters: UnitVolume;
static cubicInches: UnitVolume;
static cubicFeet: UnitVolume;
static cubicYards: UnitVolume;
static cubicMiles: UnitVolume;
static acreFeet: UnitVolume;
static bushels: UnitVolume;
static teaspoons: UnitVolume;
static tablespoons: UnitVolume;
static fluidOunces: UnitVolume;
static cups: UnitVolume;
static pints: UnitVolume;
static quarts: UnitVolume;
static gallons: UnitVolume;
static imperialTeaspoons: UnitVolume;
static imperialTablespoons: UnitVolume;
static imperialFluidOunces: UnitVolume;
static imperialPints: UnitVolume;
static imperialQuarts: UnitVolume;
static imperialGallons: UnitVolume;
static metricCups: UnitVolume;
constructor(name: string, symbol: string, description: string, baseUnitConversionFactor: number);
}