declapract
Version:
A tool to declaratively define best practices, maintainable evolve them, and scalably enforce them.
7 lines (6 loc) • 397 B
TypeScript
import { ProjectVariablesImplementation } from '../../../domain';
import { 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);