Skip to content

getSemanticDiagnostics() returns an undefined "diagnostic" for definition files #2454

@derekcicerone-zz

Description

@derekcicerone-zz

I just updated to the latest master (1.5) language services code and I noticed that calling getSemanticDiagnostics() for a definition (.d.ts) file is returning an undefined "diagnostic". Seems like a possible regression unless I shouldn't be calling that function for definition files perhaps?

Metadata

Metadata

Labels

APIRelates to the public API for TypeScriptBugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions