swc/bundler/tests/.cache/deno/7f4294c6ebf9244c5d7c7893d1a17fec1b81a4b8.ts
강동윤 fec189f2f3
fix(bundler): Fix stack overflow on Windows (#1464)
bundler:
 - Prevent stack overflow. (denoland/deno#9752)

testing:
 - Bump version
 - Fix handling of paths on windows.

testing_macros:
 - Bump version
 - Correctly ignore files.
2021-03-22 19:42:42 +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);
}
}