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

Weird issue when generating definition files.

Notifications You must be signed in to change notification settings

coarchive/ts-computed-property-export-issue-2021.02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Weird issue when generating definition files.

Resources

Stars

Watchers

Forks