UNPKG

@maskito/kit

Version:

The optional framework-agnostic Maskito's package with ready-to-use masks

11 lines (10 loc) 473 B
import type { MaskitoNumberParams } from '../number-params'; export declare function maskitoParseNumber(maskedNumber: string, params?: MaskitoNumberParams & { bigint?: false; }): number; export declare function maskitoParseNumber(maskedNumber: string, params?: MaskitoNumberParams & { bigint: true; }): bigint | null; export declare function maskitoParseNumber(maskedNumber: string, params?: MaskitoNumberParams & { bigint: boolean; }): bigint | number | null;