WIP - add extractor, generate snippet_data
This commit is contained in:
16
node_modules/xstate/lib/SimulatedClock.d.ts
generated
vendored
Normal file
16
node_modules/xstate/lib/SimulatedClock.d.ts
generated
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import { Clock } from './interpreter';
|
||||
export interface SimulatedClock extends Clock {
|
||||
start(speed: number): void;
|
||||
increment(ms: number): void;
|
||||
set(ms: number): void;
|
||||
}
|
||||
export declare class SimulatedClock implements SimulatedClock {
|
||||
private timeouts;
|
||||
private _now;
|
||||
private _id;
|
||||
now(): number;
|
||||
private getId;
|
||||
setTimeout(fn: (...args: any[]) => void, timeout: number): number;
|
||||
clearTimeout(id: number): void;
|
||||
private flushTimeouts;
|
||||
}
|
||||
Reference in New Issue
Block a user