effective-typescript icon indicating copy to clipboard operation
effective-typescript copied to clipboard

Item 13: How NamedVariable can be useful?

Open kimamula opened this issue 1 year ago • 0 comments

Hi Dan, thank you for the great book!

In Item 13, the NamedVariable type is used as an example to explain how extending union types can be useful. But I don't get it. Could you show me some concrete use cases in which this type is useful? Thanks in advance!

kimamula avatar Jun 17 '24 02:06 kimamula