paradoxuum / centurion

A flexible and extensible command framework for roblox-ts
https://centurion.paradoxum.dev/
MIT License
26 stars 5 forks source link

feat: show type check result while typing arguments #8

Closed paradoxuum closed 8 months ago

paradoxuum commented 8 months ago

This change implements type checking while typing an argument. This is done by running the transform function each time the text changes. If an error occurs, the message will be displayed in the argument suggestion.

Since running transformation functions is potentially expensive, there is now an expensive flag for types, which can be set using the last parameter of the TypeBuilder.transform method. By default, this flag is set to false.

Closes #2