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; } }