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

15 lines
401 B
TypeScript

// Loaded from https://deno.land/x/cliffy@v0.18.0/command/types/string.ts
import { string } from "../../flags/types/string.ts";
import { Type } from "../type.ts";
import type { ITypeInfo } from "../types.ts";
/** String type. Allows any value. */
export class StringType extends Type<string> {
/** Complete string type. */
public parse(type: ITypeInfo): string {
return string(type);
}
}