mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
1178686a4c
swc_bundler: - Fix remapping of exports. (denoland/deno#9350)
14 lines
437 B
TypeScript
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 );
|
|
}
|
|
}
|