import { throwError } from "rxjs";

const ob1 = throwError("Boom!");
                       ~~~~~~~              [throw-error]
const ob2 = throwError(new Error("Boom!"));

// There will be no signature for callback and
// that should not effect and internal error.
declare const callback: Function;
callback();

[throw-error]: Passing non-Error values is forbidden
