You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* tslint:disable *//* eslint-disable *//** * backend-sequelize * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. *//** * * @export */exportconstAuthError={AuthTokenExpired: 'auth/token-expired',}asconst;exporttypeAuthError=(typeofAuthError)[keyoftypeofAuthError];exportfunctioninstanceOfAuthError(value: any): boolean{for(constkeyinAuthError){if(Object.prototype.hasOwnProperty.call(AuthError,key)){if(AuthError[key]===value){returntrue;}}}returnfalse;}exportfunctionAuthErrorFromJSON(json: any): AuthError{returnAuthErrorFromJSONTyped(json,false);}exportfunctionAuthErrorFromJSONTyped(json: any,ignoreDiscriminator: boolean): AuthError{returnjsonasAuthError;}exportfunctionAuthErrorToJSON(value?: AuthError|null): any{returnvalueasany;}
The text was updated successfully, but these errors were encountered:
It looks like the previous issue I had (#18446) was resolved, but, unfortunately, I am still not able to upgrade.
My local setup give me the following type error:
The reason is that
key
is ont being cast to its correct type:an explicit cast would be necessary:
openapi.json
Generated model AuthError.ts (full)
The text was updated successfully, but these errors were encountered: