Searched refs:StateNode (Results 1 – 8 of 8) sorted by relevance
/third_party/typescript/tests/baselines/reference/ |
D | varianceAnnotations.types | 293 declare class StateNode<TContext, in out TEvent extends { type: string }> { 294 >StateNode : StateNode<TContext, TEvent> 303 _state: StateNode<TContext, any>; 304 >_state : StateNode<TContext, any> 310 exec: (meta: StateNode<any, TEvent>) => void; 311 >exec : (meta: StateNode<any, TEvent>) => void 312 >meta : StateNode<any, TEvent> 315 … createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): StateNode<any, any>; 316 >createMachine : <TEvent extends { type: string; }>(action: ActionObject<TEvent>) => StateNode<any,… 320 declare function interpret<TContext>(machine: StateNode<TContext, any>): void; [all …]
|
D | nonNullableWithNullableGenericIndexedAccessArg.symbols | 17 declare class StateNode<TStateSchema extends StateSchema> { 18 >StateNode : Symbol(StateNode, Decl(nonNullableWithNullableGenericIndexedAccessArg.ts, 6, 1)) 23 >schema : Symbol(StateNode.schema, Decl(nonNullableWithNullableGenericIndexedAccessArg.ts, 8, 59)) 32 [K in keyof TStateSchema["states"]]: StateNode<NonNullable<TStateSchema["states"]>[K]>; 35 >StateNode : Symbol(StateNode, Decl(nonNullableWithNullableGenericIndexedAccessArg.ts, 6, 1))
|
D | varianceAnnotations.js | 141 declare class StateNode<TContext, in out TEvent extends { type: string }> { 144 _state: StateNode<TContext, any>; 148 exec: (meta: StateNode<any, TEvent>) => void; 151 … createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): StateNode<any, any>; 153 declare function interpret<TContext>(machine: StateNode<TContext, any>): void; 306 declare class StateNode<TContext, in out TEvent extends { 311 _state: StateNode<TContext, any>; 316 exec: (meta: StateNode<any, TEvent>) => void; 320 }>(action: ActionObject<TEvent>): StateNode<any, any>; 321 declare function interpret<TContext>(machine: StateNode<TContext, any>): void; [all …]
|
D | nonNullableWithNullableGenericIndexedAccessArg.types | 14 declare class StateNode<TStateSchema extends StateSchema> { 15 >StateNode : StateNode<TStateSchema> 24 [K in keyof TStateSchema["states"]]: StateNode<NonNullable<TStateSchema["states"]>[K]>;
|
D | varianceAnnotations.symbols | 381 declare class StateNode<TContext, in out TEvent extends { type: string }> { 382 >StateNode : Symbol(StateNode, Decl(varianceAnnotations.ts, 135, 37)) 388 >_storedEvent : Symbol(StateNode._storedEvent, Decl(varianceAnnotations.ts, 139, 75)) 392 >_action : Symbol(StateNode._action, Decl(varianceAnnotations.ts, 140, 25)) 396 _state: StateNode<TContext, any>; 397 >_state : Symbol(StateNode._state, Decl(varianceAnnotations.ts, 141, 34)) 398 >StateNode : Symbol(StateNode, Decl(varianceAnnotations.ts, 135, 37)) 407 exec: (meta: StateNode<any, TEvent>) => void; 410 >StateNode : Symbol(StateNode, Decl(varianceAnnotations.ts, 135, 37)) 414 … createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): StateNode<any, any>; [all …]
|
D | varianceAnnotations.errors.txt | 61 …Type '(meta: StateNode<any, { type: "PLAY"; value: number; }>) => void' is not assignable to type … 63 …Type 'StateNode<any, { type: "PLAY"; value: number; } | { type: "RESET"; }>' is not assignable to … 297 declare class StateNode<TContext, in out TEvent extends { type: string }> { 300 _state: StateNode<TContext, any>; 304 exec: (meta: StateNode<any, TEvent>) => void; 307 … createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): StateNode<any, any>; 309 declare function interpret<TContext>(machine: StateNode<TContext, any>): void; 321 …TS2345: Type '(meta: StateNode<any, { type: "PLAY"; value: number; }>) => void' is not assigna… 323 … TS2345: Type 'StateNode<any, { type: "PLAY"; value: number; } | { type: "RESET"; }>' is n…
|
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeParameterLists/ |
D | varianceAnnotations.ts | 143 declare class StateNode<TContext, in out TEvent extends { type: string }> { class 146 _state: StateNode<TContext, any>; 150 exec: (meta: StateNode<any, TEvent>) => void; 153 … createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): StateNode<any, any>; 155 declare function interpret<TContext>(machine: StateNode<TContext, any>): void;
|
/third_party/typescript/tests/cases/compiler/ |
D | nonNullableWithNullableGenericIndexedAccessArg.ts | 12 declare class StateNode<TStateSchema extends StateSchema> { class 17 [K in keyof TStateSchema["states"]]: StateNode<NonNullable<TStateSchema["states"]>[K]>;
|