swc/crates/swc_bundler/tests/.cache/deno/f82565dd05871e7fa0d0a36120ce2822e4470f74.ts
2021-11-09 20:42:49 +09:00

14 lines
437 B
TypeScript

// 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 );
}
}