convert IDriverContext#setTimeout to method

This commit is contained in:
Eon S. Jeon 2020-01-13 04:34:35 +09:00
parent 1702a96d22
commit 19c095f531

View File

@ -111,11 +111,12 @@ interface ISurface {
interface IDriverContext {
readonly backend: string;
readonly screens: ISurface[];
readonly setTimeout: (func: () => void, timeout: number) => void;
readonly cursorPosition: [number, number] | null;
currentSurface: ISurface;
currentWindow: Window | null;
setTimeout(func: () => void, timeout: number): void;
}
//#endregion