Skip to content

Conversation

@miello
Copy link
Contributor

@miello miello commented Aug 1, 2025

This PR should fix type inference when Elysia instance uses array of plugins with prefix, it also should infer same route type as single plugin usage

Type tests are available in https://github.com/miello/elysia/blob/53678c8083b5c7b3f24896440347b07f5698af86/test/types/index.ts#L962


Before

image

After

image

@SaltyAom SaltyAom merged commit d46f594 into elysiajs:main Aug 5, 2025
@miello miello deleted the fix/array-of-plugin-base-path branch August 6, 2025 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants