import { throwError } from 'rxjs';. 3. . 4. //emits an error with specified value on subscription. 5. const source = throwError('This is an error!');.
確定! 回上一頁