lunaisadev-website-old/node_modules/rx/ts/core/checkedobserver.ts

16 lines
338 B
TypeScript

/// <reference path="./observer-lite.ts" />
module Rx {
export interface CheckedObserver<T> extends Observer<T> {
checkAccess(): void;
}
}
(function() {
var iObserver: Rx.IObserver<number>;
var checkedObserver: Rx.CheckedObserver<number>;
iObserver = checkedObserver;
checkedObserver.checkAccess();
});