1// Requires RXJS 6+
2// Create an observable of any Type
3// Ask yourself if the function creates a new observable or not
4// If it creates a new one then it is imported from 'rxjs'
5// Operators are imported from 'rxjs/operators'
6import { of } from 'rxjs';
7
8// T => Observable<T>
9const value$ = of(1);