swc/crates/swc_bundler/tests/.cache/deno/eb3382db64df54e0b5bc263f81c31e4409840e23.ts

15 lines
380 B
TypeScript
Raw Normal View History

// Loaded from https://deno.land/x/cliffy@v0.18.0/command/types/number.ts
import { number } from "../../flags/types/number.ts";
import { Type } from "../type.ts";
import type { ITypeInfo } from "../types.ts";
/** Number type. */
export class NumberType extends Type<number> {
/** Parse number type. */
public parse(type: ITypeInfo): number {
return number(type);
}
}