-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
Milestone
Description
TypeScript Version: 3.5.1, 3.7.5, 3.8.3
Search Terms: module, amd, outFile, declaration emit
Code
git clone https://github.com/AnyhowStep/tsql.git
cd tsql
git checkout e5a0d16ac31d868f03386b4381e51eed5f6c731d
npm install
./node_modules/.bin/tsc -m amd --outFile test-amd.js
- You should now see a
test-amd.d.tsfile. - Open
test-amd.d.tswith VS code or something. - Set VS code to use the TypeScript version in
node_modules(3.5.1) - Ctrl+F >
const concat:
Cannot find module 'expr-library/factory'.ts(2307)
That module, indeed, does not exist.
In fact, it is looking for import("expr-library/factory/make-operator-1-to-n").Operator1ToN but is looking at the wrong module.
There are many other places where it references "expr-library/factory", which does not exist.
Expected behavior:
emitted .d.ts should either use import("expr-library/factory/make-operator-1-to-n").Operator1ToN or emit a "expr-library/factory" module
Actual behavior:
Emit uses "expr-library/factory", it does not exist
Playground Link: None
Related Issues: None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
