Skip to content

Commit

Permalink
add return type
Browse files Browse the repository at this point in the history
  • Loading branch information
orsi committed Apr 28, 2019
1 parent fb52958 commit 72ac3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/net.ts
Expand Up @@ -185,7 +185,7 @@ export async function dial(network: Network, address: string): Promise<Conn> {
}

/** DialTLS establishes a secure channel to the address on the named network. */
export async function dialTLS(network: Network, address: string) {
export async function dialTLS(network: Network, address: string): Promise<Conn> {
const builder = flatbuffers.createBuilder();
const network_ = builder.createString(network);
const address_ = builder.createString(address);
Expand Down

0 comments on commit 72ac3fa

Please sign in to comment.