Type errors for map.d.ts
when importing typedoc
with TypeScript 5.6.3
#2747
Milestone
map.d.ts
when importing typedoc
with TypeScript 5.6.3
#2747
Search terms
TypeScript, Map, 5.6
Expected Behavior
import * as typedoc from 'typedoc'
(orconst typedoc = require('typedoc')
) for accessing Typedoc's default options in order to add to them should not cause compilation errors with TypeScript 5.6.xActual Behavior
TypeScript raises the following errors:
This could be linked to this change from TypeScript ?
Steps to reproduce the bug
npm install -D typescript typedoc
index.ts
file withimport * as typedoc from 'typedoc';
npx tsc index.ts -target esnext --moduleResolution node --allowSyntheticDefaultImports
(these are the minimal options to get only the errors inmap.d.ts
)Environment
The text was updated successfully, but these errors were encountered: