@chartshq/datamodel
Version:
An environment with `node`, `rustup` and `wasm-pack` set up.
9 lines (8 loc) • 322 B
TypeScript
import { FieldContract } from './index';
import { FieldSubtype } from '../../constants/fields';
declare class ContinuousParser implements FieldContract {
_type: FieldSubtype.CONTINUOUS;
get type(): FieldSubtype.CONTINUOUS;
parse(val: number | string | null | undefined): number;
}
export { ContinuousParser };