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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}