Files
Andy Hanson 89fa98a712 WIP
WIP

WIP

WIP

WIP

WIP

WIP: Remove trailing newlines

WIP

WIP

WIP

WIP

WIP

WIP

WIP

WIP: All tests pass

WIP

WIP

WIP
2016-11-28 11:16:06 -08:00

26 lines
683 B
TypeScript

// Type definitions for LeState v0.1.3
// Project: https://github.com/LeTools/LeState
// Definitions by: Hadrian Oliveira <https://github.com/thelambdaparty/>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare let LeState: {
createState: (props?: {
initialState: {};
}) => {
set(newValue: {}): [{
id: number;
state: {};
}];
get(): any;
insert(newValue: {}): void;
getDescription(): {};
createListener({ id, selector, force }: {
id: number;
selector: (state: any) => {};
force?: boolean;
}): void;
};
};
export = LeState;