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
{{ message }}
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
⚡ improvement(format): Add the path as argument to the custom formatter (#489) by @Raiondesu
* ⚡improvement(types): typed autocomplete in date and number format options
Replace Number and Date format options with standard TS `Intl` types, while also adding guiding TS autocomplete to them.
This change exterminates the confusion of which types to follow, while preserving backwards-compatibility for types and adding optional autocomplete.
* ⚡improvement(types/test): add type constraints to format options
It's useful to check static variables types whenever possible.
* ⚡new(formatter): add path to the formatter arguments
and allow optional formatting
* ⚡improvement(types): backward-compatibility for #484
* 📃docs(formatter): add case for the undefined return type
* ⚡improvement(types): include the possible undefined return type
* ✅tests(issues): make formatter return undefined in test for #484
* update(formatter): change default foramtter invocation
from undefined to null
0 commit comments