orpc-file-based-router 0.0.15 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ const handler = new RPCHandler(router);
|
|
|
76
76
|
|
|
77
77
|
If you plan to use [oRPC client](https://orpc.unnoq.com/docs/client/client-side), you can set up automatic configuration generation, which can be used for client typing.
|
|
78
78
|
|
|
79
|
-
1. Add the following code to your main server file (e.g., `server.ts` or `main.ts`). This will automatically regenerate the router configuration each time your server starts:
|
|
79
|
+
1. Add the following code to your main server file (e.g., `server.ts` or `main.ts`) or anywhere else. This will automatically regenerate the router configuration each time your server starts:
|
|
80
80
|
|
|
81
81
|
```typescript
|
|
82
82
|
import { generateRouter } from "orpc-file-based-router";
|
package/package.json
CHANGED