mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
11 lines
193 B
TypeScript
11 lines
193 B
TypeScript
import * as rebase from "re-base";
|
|
|
|
const database = {};
|
|
const base = rebase.createClass(database);
|
|
const bar = {};
|
|
|
|
const _ref = base.syncState("foo", {
|
|
context: bar,
|
|
state: "foo"
|
|
});
|