Răsfoiți Sursa

chore(compiler-core): fix typo in defineComponent.test-d (#4688)

cheng 4 ani în urmă
părinte
comite
3f5f98dcf5
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      test-dts/defineComponent.test-d.tsx

+ 1 - 1
test-dts/defineComponent.test-d.tsx

@@ -90,7 +90,7 @@ describe('with object props', () => {
       ff: Function as PropType<(a: number, b: string) => { a: boolean }>,
       // explicit type casting with constructor
       ccc: Array as () => string[],
-      // required + contructor type casting
+      // required + constructor type casting
       ddd: {
         type: Array as () => string[],
         required: true