feat(theme-shared): improve the skipHandledErrorCodes type

pull/3652/head
mehmet-erim 6 years ago
parent 67654d2d0c
commit 341afb26ef

@ -7,7 +7,7 @@ export interface RootParams {
export type ErrorScreenErrorCodes = 401 | 403 | 404 | 500;
export interface HttpErrorConfig {
skipHandledErrorCodes?: ErrorScreenErrorCodes[];
skipHandledErrorCodes?: ErrorScreenErrorCodes[] | number[];
errorScreen?: {
component: Type<any>;
forWhichErrors?: ErrorScreenErrorCodes[];

Loading…
Cancel
Save