Skip to content

Commit 1d0d7eb

Browse files
committed
docs: third limitation
1 parent 2cc47b3 commit 1d0d7eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,4 @@ export type App = typeof app;
8989

9090
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.
9191
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

Comments
 (0)