From ca12f22b4d34fa56ce76c0bd2e2bf662a98e4f9b Mon Sep 17 00:00:00 2001 From: Nokito Date: Thu, 2 Aug 2018 03:37:35 +0900 Subject: [PATCH] [@types/playcanvas] Fix AnimationComponent.getAnimation return type (#27718) --- .../engine/framework/components/animation/component.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/playcanvas/engine/framework/components/animation/component.d.ts b/types/playcanvas/engine/framework/components/animation/component.d.ts index ca0547b6fe..7be1b5ea3b 100644 --- a/types/playcanvas/engine/framework/components/animation/component.d.ts +++ b/types/playcanvas/engine/framework/components/animation/component.d.ts @@ -46,6 +46,6 @@ declare namespace pc { * @param {String} name The name of the animation asset * @returns {pc.Animation} An Animation */ - getAnimation(name: string): void; + getAnimation(name: string): pc.Animation; } }