diff --git a/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache b/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache index e4be34233a4e..a6ca786044ef 100644 --- a/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache @@ -1,6 +1,6 @@ // tslint:disable {{>licenseInfo}} -import { Observable, of } from 'rxjs'; +import { Observable, of, throwError } from 'rxjs'; import { ajax, AjaxResponse } from 'rxjs/ajax'; import { map, concatMap } from 'rxjs/operators';