Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.
This repository was archived by the owner on May 23, 2024. It is now read-only.

Something funky happening with EventManager.ts on transpilation #66

@BlakeDraper

Description

@BlakeDraper

I noticed that in some cases, the typescript transpiler is changing this:
(function (event) { to this: (function (Event_1) {

which also makes this line go from this:
this._eventList[EventName] = new Event(new event.Delegate());
to this:this._eventList[EventName] = new Event(new Event_1.Delegate());

and finally this: if (args === void 0) { args = event.EventArgs.Empty; }
to this: if (args === void 0) { args = Event_1.EventArgs.Empty; }

Not sure where this Event_1 business is coming from, but should look into it. I nominate @jknewson.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions