You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,3 +89,4 @@ export type App = typeof app;
89
89
90
90
1. Sometimes emitting types can be `null`, this happens only in some runtime environment (So far, Distroless). I would recommended `oven/bun`, or `oven/bun:alpine` as base image.
91
91
2. Be sure that `typescript` package is available when running. It's no longer `devDependencies`.
92
+
3. For all elysia instances, and chaining controller. It's recomended to chain your routes instead of calling `controller.<METHOD>` after each new line since it's will not considered into type compliation by typescript. ([example](https://github.com/rayriffy/dts-chaining-repro/commit/fb4702ddc11a3973bf51eac753c18c1d606eae4b))
0 commit comments