Przeglądaj źródła

types: fix wrong order

Evan You 7 lat temu
rodzic
commit
24ff686848
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/core/src/component.ts

+ 1 - 1
packages/core/src/component.ts

@@ -102,7 +102,7 @@ export interface ComponentInstance<P = {}, D = {}>
 
   _updateHandle: Autorun
   _queueJob: ((fn: () => void) => void)
-  _self: ComponentInstance<D, P> // on proxies only
+  _self: ComponentInstance<P, D> // on proxies only
 }
 
 // actual implementation of the component