浏览代码

chore: remove unused ts-expect-error

Evan You 2 年之前
父节点
当前提交
c6defc8df1
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      packages/runtime-core/__tests__/apiOptions.spec.ts

+ 0 - 2
packages/runtime-core/__tests__/apiOptions.spec.ts

@@ -790,10 +790,8 @@ describe('api: options', () => {
       data() {},
     }
     defineComponent({
-      // @ts-expect-error edge case after #7963, unlikely to happen in practice
       // since the user will want to type the mixins themselves.
       mixins: [defineComponent(MixinA), defineComponent(MixinB)],
-      // @ts-expect-error
       data() {},
     })
   })