mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Merge pull request #32435 from vldk/master
Update index.d.ts for tween.js version 17.2.0
This commit is contained in:
Vendored
+4
-1
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user