Jump to content
GreenSock

yasserzakaria1993

Enhanced type for quickTo return

Go to solution Solved by GreenSock,

Recommended Posts

Thanks for the best amazing animation library ever
I have just a small suggestionĀ 

Is it possible to change the return type for gsap.quickTo to be more specific than Function

suggested type

quickTo: (target: TweenTarget, property: string, vars?: TweenVars) => Function & {tween : GSAPTween}

P.S. for sure this is not perfect and not getting all the properties but this is what in mind now

Please guide me so I can properly contribute for small things like this in the future

thanks again guys for the amazing effort šŸ™

Link to comment
Share on other sites

  • Solution

Hi @yasserzakaria1993. Are you asking to change the TypeScript definition file? Are you looking at the latest version (released yesterday, 3.11.1)? It was already improved in that release.Ā 

  • Like 1
Link to comment
Share on other sites

Ya was asking about the TypeScript
Didn't know that we have a new versionĀ šŸ¤©

this is an amazing news

thanks a lot

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
Ɨ