Skip to content

Commit

Permalink
Merge pull request #657 from cloudflare/dominik/add-sockets-module-type
Browse files Browse the repository at this point in the history
Adds cloudflare:sockets module types.
  • Loading branch information
dom96 authored May 16, 2023
2 parents 955827a + d8fa8ef commit b5d5066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/defines/sockets.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module "cloudflare:sockets" {
function _connect(address: string | SocketAddress, options?: SocketOptions): Socket;
export { _connect as connect };
}

0 comments on commit b5d5066

Please # to comment.