mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
9 lines
225 B
TypeScript
9 lines
225 B
TypeScript
|
// Loaded from https://deno.land/x/cliffy@v0.18.0/prompt/_utils.ts
|
||
|
|
||
|
|
||
|
/** Alias method for Number constructor. */
|
||
|
// deno-lint-ignore no-explicit-any
|
||
|
export function parseNumber(value: any): number {
|
||
|
return Number(value);
|
||
|
}
|