diff --git a/src/typedefs/Instance.js b/src/typedefs/Instance.js index c127714f..cba6ae69 100644 --- a/src/typedefs/Instance.js +++ b/src/typedefs/Instance.js @@ -1,3 +1,5 @@ +/** @typedef {import('pixi.js').Graphics} Graphics */ + /** @typedef {import('./ContainerElement.js').ContainerElement} ContainerElement */ /** @typedef {import('./EventHandlers.js').EventHandlers} EventHandlers */ /** @typedef {import('./InstanceState.js').InstanceState} InstanceState */ @@ -7,7 +9,7 @@ * @property {InstanceState} [__pixireact] * @property {boolean} [autoRemovedBeforeAppend] * @property {ContainerElement | ContainerElement[]} [children] - * @property {(...args: any[]) => any} [draw] + * @property {(graphics: Graphics) => void} [draw] */ /** @typedef {ContainerElement & BaseInstance} Instance */