Skip to content

rachaeldawn/effector-types-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproducing missing types

  1. Run npm run build:broken to see the output the breakage
  2. Run npm run build:working to see the output of the working version

The two tsconfig*.json files are the exact same, except that 1 uses "module": "node" (the working one) and 1 uses "module": "NodeNext" (broken one)

Fix

Add a "types": "{file-name}.mjs.d.ts" for each export

See this link under tools/builder/packages.config.ts.

Testing Fix

Check out the branch fix-demo. The readme will change.

NOTE That branch is treated separately from this one. You'll want to have yarn and v16.16.0 of node installed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published