gentyl
Version:
A Generator That You'll Love
31 lines (30 loc) • 778 B
TypeScript
declare namespace Gentyl {
interface FormSpec {
f?: (obj, args?) => any;
c?: (args?) => any;
s?: (keys, arg?) => any;
p?: (arg) => void;
m?: string;
i?: (arg) => any;
o?: (arg) => any;
il?: string;
ol?: string;
t?: any;
cl?: string;
}
class GForm {
ctxmode: string;
carrier: (arg) => any;
resolver: (obj, arg) => any;
selector: (keys, arg) => any;
preparator: (arg) => void;
targeting: any;
inputLabel: string;
outputLabel: string;
inputFunction: (arg) => any;
outputFunction: (arg) => any;
contextLabel: string;
constructor(formObj: FormSpec);
extract(): FormSpec;
}
}