Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

Latest commit

 

History

History
5 lines (4 loc) · 215 Bytes

File metadata and controls

5 lines (4 loc) · 215 Bytes

ts-computed-property-export-issue-2021.02

Suppose you wanted to model http hosts with newtypes. One way you might do it is like this. The only problem is that when generating declaration files, TypeScript balks.