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

TS: Fix parameter error of AnimationClip.toJSON() #20569

Merged
merged 3 commits into from
Oct 27, 2020
Merged

Conversation

KenyonY
Copy link
Contributor

@KenyonY KenyonY commented Oct 27, 2020

Fix parameter error of function AnimationClip.toJSON()

@@ -45,6 +45,6 @@ export class AnimationClip {
animation: any,
bones: Bone[]
): AnimationClip;
static toJSON(): any;
static toJSON( json: any ): any;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I should be:

static toJSON( clip: AnimationClip ): any;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I made a mistake.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't worry. Bob Ross would have said: We don't make mistakes, just happy little accidents. 😊

@mrdoob mrdoob added this to the r122 milestone Oct 27, 2020
@mrdoob mrdoob merged commit 1f0d193 into mrdoob:dev Oct 27, 2020
@mrdoob
Copy link
Owner

mrdoob commented Oct 27, 2020

Thanks!

@mrdoob mrdoob changed the title Fix parameter error of AnimationClip.toJSON() TS: Fix parameter error of AnimationClip.toJSON() Oct 27, 2020
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

3 participants