Skip to content

kruncher/ts-repro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Repro Steps

# Clone this repository.
git clone https://github.com/kruncher/ts-repro.git
cd ts-repro

# Prepare package-b
cd package-b
npm install
npm link

# Prepare package-a
cd ../package-a
npm link package-b
npm install

# By this step the TypeScript in package-a/src and package-b/src should
# be compiled into package-a/lib and package-b/lib

# Attempt to build and run unit tests of package-a
npm test

# Verify that package-a works normally by running it
node .

Error Output

1 import nunjucks = require("nunjucks");
                            ~~~~~~~~~~

../package-b/lib/SomethingThatUsesNunjucks.d.ts(1,27): error TS2307: Cannot find module 'nunjucks'.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published