浏览代码

fix(api): Remove unused `@ts-expect-error` (#5131)

Fabian-Lars 2 年之前
父节点
当前提交
0837454b00
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      tooling/api/src/http.ts

+ 0 - 1
tooling/api/src/http.ts

@@ -312,7 +312,6 @@ class Client {
       if (jsonResponse) {
         /* eslint-disable */
         try {
-          // @ts-expect-error
           response.data = JSON.parse(response.data as string)
         } catch (e) {
           if (response.ok && (response.data as unknown as string) === '') {