Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move mixins to global space #6472

Merged
merged 3 commits into from
Mar 22, 2020
Merged

Move mixins to global space #6472

merged 3 commits into from
Mar 22, 2020

Conversation

ivanpopelyshev
Copy link
Collaborator

@ivanpopelyshev ivanpopelyshev commented Mar 12, 2020

This PR is awesome.

It will lead to better integration of resource-loader and all my plugins. We'll get proper mixins declaration in d.ts files!

This is initial demo - I expose only DisplayObject. More stuff will be exposed later when we discuss this one.

Many mixins will be exposed for canvas packages.

@@ -0,0 +1,60 @@
declare type InteractionTrackingData = any;

declare type Cursor = 'auto'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorcery

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those particular lines were moved it from globals. They will be removed as soon as someone converts interaction to TS :)

@cursedcoder
Copy link
Member

I'll need to test this locally, will let you know tomorrow :)

Copy link
Member

@Zyie Zyie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very cool!

I like this idea a lot

Copy link
Member

@cursedcoder cursedcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one

@bigtimebuddy bigtimebuddy merged commit fb16e7b into dev Mar 22, 2020
@bigtimebuddy bigtimebuddy deleted the dev-typescript-mixins branch March 22, 2020 04:08
@bigtimebuddy
Copy link
Member

Good one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants