-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
bugSomething isn't workingSomething isn't working
Description
For a package like this:
// package.json
{
"name": "some-pkg",
"version": "0.0.0",
"exports": {
".": {
"import": {},
"require": {},
"default": "./index.js"
}
}
}
// index.js
console.log('a')
// index.d.ts
export {};
Importing it works in Node (and TypeScript) but arethetypeswrong reports that it's relying on microsoft/TypeScript#50762 when it's not since TypeScript is doing the correct thing in this case and working like Node.
(of course it makes no sense to do what's in the example, it's just to illustrate the problem)
Andarist and andrewbranch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working