-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
index.ts
50 lines (48 loc) · 1.07 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import * as actions from './actions';
import { Actor, toActorRef } from './Actor';
import {
interpret,
Interpreter,
InterpreterStatus,
spawn
} from './interpreter';
import { createMachine, Machine } from './Machine';
import { mapState } from './mapState';
import { matchState } from './match';
import { createSchema, t } from './schema';
import { State } from './State';
import { StateNode } from './StateNode';
export { spawnBehavior } from './behaviors';
export { XStateDevInterface } from './devTools';
export * from './typegenTypes';
export * from './types';
export { matchesState, toEventObject, toObserver, toSCXMLEvent } from './utils';
export {
Actor,
toActorRef,
Machine,
StateNode,
State,
mapState,
actions,
assign,
send,
sendParent,
sendUpdate,
forwardTo,
interpret,
Interpreter,
InterpreterStatus,
matchState,
spawn,
doneInvoke,
createMachine,
createSchema,
t
};
const { assign, send, sendParent, sendUpdate, forwardTo, doneInvoke } = actions;
declare global {
interface SymbolConstructor {
readonly observable: symbol;
}
}