Explorar el Código

Export AuthorizedProps

huangyan.py hace 7 años
padre
commit
1137783bec
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/components/Authorized/index.d.ts

+ 1 - 1
src/components/Authorized/index.d.ts

@@ -27,7 +27,7 @@ interface check {
   ): T | S;
 }
 
-interface AuthorizedProps {
+export interface AuthorizedProps {
   authority: authority;
   noMatch?: React.ReactNode;
 }