Skip to content

Declaration files should not emit accessor warnings #33641

@weswigham

Description

@weswigham

In our docker suite, some declaration files are issuing errors along the lines of

dist-esm/ChangeFeedResponse.d.ts:25:9 - (TS1056) Accessors are only available when targeting ECMAScript 5 and higher.

this might be coming from an older version of TS, but if it's not, we need to remove this error, as it doesn't make sense to talk about accessor implementation limitations in declaration files.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions