swc/bundler/tests/.cache/deno/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts

14 lines
437 B
TypeScript
Raw Normal View History

// Loaded from https://deno.land/x/cliffy@v0.12.1/packages/command/types/number.ts
import { IFlagArgument, IFlagOptions } from '../../flags/lib/types.ts';
import { number } from '../../flags/lib/types/number.ts';
import { Type } from './type.ts';
export class NumberType extends Type<number> {
public parse( option: IFlagOptions, arg: IFlagArgument, value: string ): number {
return number( option, arg, value );
}
}