concordance-comparator
Version:
- `npm install` - install dependencies - `npm test` - run tests - `npm run compile` - compile your code into the `lib/` folder
10 lines (9 loc) • 368 B
TypeScript
import { Comparable } from './Comparable';
export declare function factory<U, T extends Comparable<U>>(cls: new () => T, clsFactory?: ((u: U) => T) | undefined): {
name: string;
apiVersion: number;
minimalConcordanceVersion: string;
serializerVersion: number;
theme: {};
register: (api: any) => (value: any) => ((props: any) => any) | null;
};