Home
last modified time | relevance | path

Searched refs:createMachine (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DcontextualSignatureConditionalTypeInstantiationUsingDefault.symbols24 declare function createMachine<
25 >createMachine : Symbol(createMachine, Decl(contextualSignatureConditionalTypeInstantiationUsingDef…
57 createMachine({}, (ev) => {
58 >createMachine : Symbol(createMachine, Decl(contextualSignatureConditionalTypeInstantiationUsingDef…
DcontextualSignatureConditionalTypeInstantiationUsingDefault.types20 declare function createMachine<
21 >createMachine : <TTypesMeta extends TypegenDisabled | TypegenEnabled = TypegenDisabled>(config: { …
43 createMachine({}, (ev) => {
44 >createMachine({}, (ev) => { ev.type; // should be `string`}) : void
45 >createMachine : <TTypesMeta extends TypegenDisabled | TypegenEnabled = TypegenDisabled>(config: { …
DvarianceAnnotations.js151 declare function createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): Stat…
155 const machine = createMachine({} as any);
161 createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq); // Error
200 var machine = createMachine({});
202 createMachine(qq); // Error
318 declare function createMachine<TEvent extends {
DvarianceAnnotations.types315 declare function createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): Stat…
316 >createMachine : <TEvent extends { type: string; }>(action: ActionObject<TEvent>) => StateNode<any,…
324 const machine = createMachine({} as any);
326 >createMachine({} as any) : StateNode<any, any>
327 >createMachine : <TEvent extends { type: string; }>(action: ActionObject<TEvent>) => StateNode<any,…
341 createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq); // Error
342 >createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq) : StateNode<any, any>
343 >createMachine : <TEvent extends { type: string; }>(action: ActionObject<TEvent>) => StateNode<any,…
DvarianceAnnotations.symbols414 declare function createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): Stat…
415 >createMachine : Symbol(createMachine, Decl(varianceAnnotations.ts, 147, 1))
430 const machine = createMachine({} as any);
432 >createMachine : Symbol(createMachine, Decl(varianceAnnotations.ts, 147, 1))
444 createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq); // Error
445 >createMachine : Symbol(createMachine, Decl(varianceAnnotations.ts, 147, 1))
DvarianceAnnotations.errors.txt307 …declare function createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): Sta…
311 const machine = createMachine({} as any);
317 createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq); // Error
/third_party/typescript/tests/cases/compiler/
DcontextualSignatureConditionalTypeInstantiationUsingDefault.ts15 declare function createMachine< function
26 createMachine({}, (ev) => {
/third_party/typescript/tests/cases/conformance/types/typeParameters/typeParameterLists/
DvarianceAnnotations.ts153 declare function createMachine<TEvent extends { type: string }>(action: ActionObject<TEvent>): Stat… function
157 const machine = createMachine({} as any);
163 createMachine<{ type: "PLAY"; value: number } | { type: "RESET" }>(qq); // Error