Przeglądaj źródła

Export AuthorizedProps

huangyan.py 7 lat temu
rodzic
commit
1137783bec
1 zmienionych plików z 1 dodań i 1 usunięć
  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;
 }