mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 04:32:01 +03:00
10 lines
281 B
TypeScript
10 lines
281 B
TypeScript
// Loaded from https://deno.land/x/cliffy@v0.18.0/flags/types/string.ts
|
|
|
|
|
|
import type { ITypeHandler, ITypeInfo } from "../types.ts";
|
|
|
|
/** String type handler. Excepts any value. */
|
|
export const string: ITypeHandler<string> = ({ value }: ITypeInfo): string => {
|
|
return value;
|
|
};
|