-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
What if instead of doing this, if just one transformer is applied:
const format = strif.template('{name} has {messageCount} messages', {
props: {
name: {
transformers: ['capitalize']
}
}
});
We could do something like:
const format = strif.template('{name | capitalize} has {messageCount} messages');