Skip to content

typescriptServices.d.ts no longer works without CommonJS #1392

Closed
@derekcicerone-zz

Description

@derekcicerone-zz

I'm attempting to update the TypeScript language services from master but I'm hitting errors that look like this:

Cannot find name 'ts'.

It looks like this is being caused by this new line in typescriptServices.d.ts:

export = ts;

If I remove this line, references like "ts.Classifier" work once again. With it, I'm not able to reference the classifier either with or without the "ts." prefix. Is there another way to reference things like the classifier that I should use instead?

Metadata

Metadata

Labels

BugA 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