{"action":"opened","issue":{"url":"https://api.github.com/repos/ReactiveX/rxjs/issues/3309","repository_url":"https://api.github.com/repos/ReactiveX/rxjs","labels_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/3309/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/3309/comments","events_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/3309/events","html_url":"https://github.com/ReactiveX/rxjs/issues/3309","id":296192047,"number":3309,"title":"TypeError in Scheduler","user":{"login":"NiKlimenko","id":11063519,"avatar_url":"https://avatars1.githubusercontent.com/u/11063519?v=4","gravatar_id":"","url":"https://api.github.com/users/NiKlimenko","html_url":"https://github.com/NiKlimenko","followers_url":"https://api.github.com/users/NiKlimenko/followers","following_url":"https://api.github.com/users/NiKlimenko/following{/other_user}","gists_url":"https://api.github.com/users/NiKlimenko/gists{/gist_id}","starred_url":"https://api.github.com/users/NiKlimenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiKlimenko/subscriptions","organizations_url":"https://api.github.com/users/NiKlimenko/orgs","repos_url":"https://api.github.com/users/NiKlimenko/repos","events_url":"https://api.github.com/users/NiKlimenko/events{/privacy}","received_events_url":"https://api.github.com/users/NiKlimenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-11T13:58:07Z","updated_at":"2018-02-11T13:58:07Z","closed_at":null,"author_association":"NONE","body":"**RxJS version:** 5.5.6\r\n\r\n**Code to reproduce:**\r\n ```\r\nimport {observeOn} from 'rxjs/operators/observeOn';\r\nimport {Scheduler} from 'rxjs/Rx';\r\n\r\nsomeObservable.pipe(\r\n      observeOn(Scheduler.asap)\r\n    )\r\n      .subscribe(() => {});\r\n```\r\n\r\n**Expected behavior:**\r\nShould work correctly, without compilation errors.\r\n\r\n**Actual behavior:**\r\n```\r\nERROR in node_modules/rxjs/scheduler/VirtualTimeScheduler.d.ts(24,15): error TS2416: Property 'work' in type 'VirtualAction<T>' is not assignable to the same property in base type\r\n'AsyncAction<T>'.\r\n  Type '(this: VirtualAction<T>, state?: T | undefined) => void' is not assignable to type '(this: AsyncAction<T>, state?: T | undefined) => void'.\r\n    The 'this' types of each signature are incompatible.\r\n      Type 'AsyncAction<T>' is not assignable to type 'VirtualAction<T>'.\r\n        Property 'index' is missing in type 'AsyncAction<T>'.\r\n````"}}
{"actor":{"display_login":"NiKlimenko"}}