@loopback/repository
Version:
Define and implement a common set of interfaces for interacting with databases
13 lines (12 loc) • 355 B
TypeScript
import { Type } from './type';
/**
* String type
*/
export declare class StringType implements Type<string> {
readonly name = "string";
isInstance(value: any): boolean;
isCoercible(value: any): boolean;
defaultValue(): string;
coerce(value: any): string;
serialize(value: string | null | undefined): string | null | undefined;
}