-
Notifications
You must be signed in to change notification settings - Fork 760
Closed
Closed
Copy link
Labels
Domain: Type CheckingRelated to type checking, grammar checkingRelated to type checking, grammar checkingbugSomething isn't workingSomething isn't working
Description
Steps to reproduce
Issue is not reproducible in 7.0.0-dev.20251202.1, but is in 7.0.0-dev.20251203.1
# install
npm i
# no error
npm run ts
# errors
npm run tsgo
Behavior with typescript@5.9
No Error
Behavior with tsgo
index.ts:3:19 - error TS2694: Namespace '_' has no exported member 'Dictionary'.
3 export const x: _.Dictionary<number> = {};
~~~~~~~~~~
node_modules/@types/lodash/common/array.d.ts:6:33 - error TS2694: Namespace '_' has no exported member 'MutableList'.
6 type RejectReadonly<T extends _.MutableList<unknown>> = _IsWritable<T> extends true ? T : never
~~~~~~~~~~~
Found 2 errors in 2 files.
Errors Files
1 index.ts:3
1 node_modules/@types/lodash/common/array.d.ts:6
Metadata
Metadata
Assignees
Labels
Domain: Type CheckingRelated to type checking, grammar checkingRelated to type checking, grammar checkingbugSomething isn't workingSomething isn't working