@devcycle/nestjs-server-sdk
Version:
The DevCycle NestJS Server SDK used for feature management.
8 lines (7 loc) • 409 B
TypeScript
import { DVCVariableValue } from '@devcycle/nodejs-server-sdk';
import { VariableDefinitions, VariableKey } from '@devcycle/types';
type VariableValues<K extends VariableKey, ValueType extends VariableDefinitions[K]> = {
[key in K]: ValueType;
};
export declare const RequireVariableValue: (requiredVariables: VariableValues<VariableKey, DVCVariableValue>) => ClassDecorator & MethodDecorator;
export {};