playcanvas / playcanvas-tween

A tween library for PlayCanvas
MIT License
59 stars 45 forks source link

Introduce some type definitions #30

Closed vmwxiong closed 2 years ago

vmwxiong commented 2 years ago

Quick pass at some basic type defs. Not exhaustive, and would not be surprised if it has inaccuracies!

I confirm I have signed the Contributor License Agreement.

Fixes: https://github.com/playcanvas/playcanvas-tween/issues/24

yaustar commented 2 years ago

@willeastcott Does the package.json need to be updated to include the definition file?

willeastcott commented 2 years ago

We never published this repo to NPM, so it's not really necessary.

willeastcott commented 2 years ago

@vmwxiong Can you please apply 4 space indentation to this file please.

willeastcott commented 2 years ago

Nice, thanks!! 🙌