Explorar o código

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

cheng %!s(int64=4) %!d(string=hai) anos
pai
achega
3f5f98dcf5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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