typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

regression in 7.0.0-dev.20251203.1 - TS2694 no exported member on namespace

Open lukeapage opened this issue 3 weeks ago • 0 comments

Steps to reproduce

Issue is not reproducible in 7.0.0-dev.20251202.1, but is in 7.0.0-dev.20251203.1

Repro

# install
npm i

# no error
npm run ts
# errors
npm run tsgo

Behavior with [email protected]

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

lukeapage avatar Dec 07 '25 08:12 lukeapage