serverless-spy
Version:
CDK-based library for writing elegant integration tests on AWS serverless architecture and an additional web console to monitor events in real time.
17 lines (14 loc) • 429 B
text/typescript
/// <reference path="../../observable.ts" />
module Rx {
export interface Observable<T> {
/**
* Hides the identity of an observable sequence.
* @returns {Observable} An observable sequence that hides the identity of the source sequence.
*/
asObservable(): Observable<T>;
}
}
(function() {
var s : Rx.Subject<boolean>;
var o : Rx.Observable<boolean> = s.asObservable();
});