export Observable type instead of implementation

This commit is contained in:
Ewout Stortenbeker 2020-12-16 14:32:02 +01:00
parent 0575884ef6
commit eb3e6c5dcb

View file

@ -1,4 +1,4 @@
export { Observable } from 'rxjs'; // Typescript 3.8+ type export. Error here? Read below..
export type { Observable } from 'rxjs'; // Typescript 3.8+ type export. Error here? Read below..
/*
How to handle a TS error in above export: