File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ export function useReo() {
1111 console . log ( 'Reo' , Reo ) ;
1212 console . log ( 'Reo?.init' , Reo ?. init ) ;
1313 console . log ( 'Reo client id' , import . meta. env . VITE_REO_DEV_CLIENT_ID ) ;
14- return reoClient = Reo ?. init ?.( { clientID : import . meta. env . VITE_REO_DEV_CLIENT_ID } ) ;
14+ Reo ?. init ?.( { clientID : import . meta. env . VITE_REO_DEV_CLIENT_ID } ) ;
15+ return reoClient = Reo ;
1516 } ) ;
1617 }
1718 } , [ ] ) ;
Original file line number Diff line number Diff line change 11declare module 'reodotdev' {
2- export function loadReoScript ( { clientID : string } ) : Promise < {
3- init : null | ( ( { clientID : string } ) => ReoClient ) ;
4- } > ;
2+ export function loadReoScript ( { clientID : string } ) : Promise < ReoClient > ;
53
64 export interface ReoClient {
5+ init : null | ( ( { clientID : string } ) => ReoClient ) ;
76 identify : null | ( ( person : { username : string ; type : string ; company : string ; } ) => void ) ;
87 }
98}
You can’t perform that action at this time.
0 commit comments