declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
7 lines (6 loc) • 415 B
TypeScript
import type { ProjectVariablesImplementation } from '../../../domain.objects';
import type { FileCheckContext } from '../../../domain.objects/FileCheckContext';
/**
* createGetVariables creates a function which you can use to access project variables in your check functions
*/
export declare const createGetVariables: <T extends ProjectVariablesImplementation>(example: T) => ((context: FileCheckContext) => T);