TIL: `as const satisfies T` instead of `as const` can be used to prevent result types from having `readonly` modifiers 🤯
1 likes 0 replies
?
TIL: `as const satisfies T` instead of `as const` can be used to prevent result types from having `readonly` modifiers 🤯
1 likes 0 replies