@lightningjs/blits 1.43.0 → 1.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/index.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ declare module '@lightningjs/blits' {
|
|
|
169
169
|
*
|
|
170
170
|
* Note: This hook will fire continuously, multiple times per second!
|
|
171
171
|
*/
|
|
172
|
-
frameTick?: () => void;
|
|
172
|
+
frameTick?: (data: {time: number, delta: number}) => void;
|
|
173
173
|
/**
|
|
174
174
|
* Fires when the component enters the viewport _margin_ and is attached to the render tree
|
|
175
175
|
*
|
|
@@ -205,7 +205,7 @@ declare module '@lightningjs/blits' {
|
|
|
205
205
|
*
|
|
206
206
|
* Note: This event fire multiple times
|
|
207
207
|
*/
|
|
208
|
-
fpsUpdate?: () => void;
|
|
208
|
+
fpsUpdate?: (fps: number) => void;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
export interface Input {
|