Skip to content

Commit

Permalink
doc: rebuild ts types
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ma committed Nov 6, 2024
1 parent 4577c3d commit 4900a89
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion types/client/Client.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ declare class Client {
/**
* @deprecated Use {@link Client#runtime} instead.
*/
get target(): any;
get target(): "browser" | "node";
/**
* Instance of the {@link client.Socket} class.
*
Expand Down
5 changes: 5 additions & 0 deletions types/server/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
export { default as Server } from "./Server.js";
export { default as ServerContext } from "./ServerContext.js";
/**
* The role of the client in the application.
*
* For browser client, this infomation is used to create the URL endpoint.
*/
export type ClientRole = string;
export type ClientDescription = {
/**
Expand Down

0 comments on commit 4900a89

Please sign in to comment.