Closed
Description
Can't add the [$$observable]
line of
export interface Observable<T> {
subscribe(listener: Observer | Next): Subscription;
[$$observable](): Observable<T>;
}
because $$observable
throws this error:
TS1169: A computed property name in an interface must directly refer to a built-in symbol.
Symbol didn't exist until Safari 8, so using Symbol.observable
rather than $$observable
would affect our compatibility with Safari 8 for no user-justifiable reason.
Metadata
Metadata
Assignees
Labels
No labels