File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ let friendsPromise = authedApi.getFriendIds();
146146// too, so use the magic .map() function to get them, too! Still one round
147147// trip.
148148let friendProfilesPromise = friendsPromise .map ((id : RpcPromise <number >) => {
149- return { id , profile: api .getUserProfile (id ); };
149+ return { id , profile: api .getUserProfile (id ) };
150150});
151151
152152// Now await the promises. The batch is sent at this point. It's important
@@ -708,7 +708,7 @@ You can then set up a connection over it:
708708let transport: RpcTransport = new MyTransport ();
709709
710710// Create the main interface we will expose to the other end.
711- let localMain: RpcTarget = new MyMainInterface ():
711+ let localMain: RpcTarget = new MyMainInterface ();
712712
713713// Start the session.
714714let session = new RpcSession <RemoteMainInterface >(transport , localMain );
You can’t perform that action at this time.
0 commit comments