Merge pull request #32435 from vldk/master

Update index.d.ts for tween.js version 17.2.0
This commit is contained in:
Benjamin Lichtman
2019-01-25 08:35:55 -08:00
committed by GitHub
2 changed files with 5 additions and 3 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for tween.js v16.9.0
// Type definitions for tween.js 17.2
// Project: https://github.com/tweenjs/tween.js/
// Definitions by: jordan <https://github.com/Amos47>, sunetos <https://github.com/sunetos>, jzarnikov <https://github.com/jzarnikov>, alexburner <https://github.com/alexburner>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
@@ -13,11 +13,14 @@ declare namespace TWEEN {
export class Tween {
constructor(object?: any, group?: Group);
getId(): number;
isPlaying(): boolean;
to(properties: any, duration: number): Tween;
start(time?: number): Tween;
stop(): Tween;
end(): Tween;
stopChainedTweens(): Tween;
group(group: Group): Tween;
delay(amount: number): Tween;
repeat(times: number): Tween;
repeatDelay(times: number): Tween;
+1 -2
View File
@@ -6,8 +6,7 @@
"arrow-return-shorthand": false,
"ban-types": false,
"callable-types": false,
"comment-format": false,
"dt-header": false,
"comment-format": false,
"eofline": false,
"export-just-namespace": false,
"import-spacing": false,