fix: typo on doc string (#19346)

This commit is contained in:
Erik Ritter
2022-03-24 02:15:56 -07:00
committed by GitHub
parent 202e34a259
commit 2af2d00e85

View File

@@ -29,7 +29,7 @@ export type ErrorInput = string | Error | Response | SupersetApiErrorPayload;
* @param error the catched error from SupersetClient.request(...)
*/
export default async function handleError(error: ErrorInput): Promise<never> {
// already a Sueprset error
// already a Superset error
if (error instanceof SupersetApiError) {
throw error;
}