@rxjs-ninja/rxjs-utility
Version:
Useful utilities for RxJS
61 lines (60 loc) • 947 B
TypeScript
/**
* @packageDocumentation
* @module Utility
*/
/**
* @private
* @internal
*/
export declare const SupportedWeights: {
/**
* Grams
*/
readonly GRAMS: "g";
/**
* Kilograms
*/
readonly KILOGRAMS: "kg";
/**
* Pounds
*/
readonly POUNDS: "lb";
/**
* Ounces
*/
readonly OUNCES: "oz";
/**
* Stones
*/
readonly STONE: "st";
};
/**
* @private
* @internal
*/
export declare type SupportedWeights = typeof SupportedWeights[keyof typeof SupportedWeights];
/**
* Types of weights supported by the [[weight]] operator
*/
export declare enum Weights {
/**
* Grams
*/
GRAMS = "g",
/**
* Kilograms
*/
KILOGRAMS = "kg",
/**
* Pounds
*/
POUNDS = "lb",
/**
* Ounces
*/
OUNCES = "oz",
/**
* Stones
*/
STONE = "st"
}