Skip to content

ajsharp/typescript-interface-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript bug report

  1. Install deps: yarn install
  2. Build: yarn build
  3. Test: yarn test

You should see the following error upon running yarn test: "ReferenceError: Document is not defined"

If you inspect the output in dist/Person.js you'll see that the Query class is read off the imported mongoose_1 import but Document is not, thus the error.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published