property does not exist on type undefined typescript code example Example: Property 'of' does not exist on type 'typeof Observable'. import { of } from 'rxjs';