Skip to content

A sample setup using Babel CLI to build TypeScript code, and using TypeScript for type-checking.

License

Notifications You must be signed in to change notification settings

whimzyLive/babel-ts-imports-removed-repro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repro for issue #12150

Look at lib/cats/cats.controller.js:72

  • here AWS.S3 is left as is after transpilation, but there is not such thing as AWS as somewhere in transpilation it actual import got refactored to var _awsSdk = _interopRequireDefault(require("aws-sdk")); but injected type still references old variable AWS.S3 causing Reference Error: AWS is not defined

About

A sample setup using Babel CLI to build TypeScript code, and using TypeScript for type-checking.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 79.7%
  • TypeScript 20.3%