@nestia/core
Version:
Super-fast validation decorators of NestJS
10 lines (9 loc) • 421 B
TypeScript
import { VERSION_NEUTRAL, VersionValue } from "@nestjs/common/interfaces";
export declare namespace VersioningStrategy {
interface IConfig {
prefix: string;
defaultVersion?: VersionValue;
}
const cast: (value: VersionValue | undefined) => Array<string | typeof VERSION_NEUTRAL>;
const merge: (config: IConfig | undefined) => (values: Array<string | typeof VERSION_NEUTRAL>) => string[];
}