mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
🤖 Merge PR #46008 updated the posistion getter method on the Element interface. From return type Object to more specific object wit… by @risingBirdSong
This commit is contained in:
parent
53dab9420a
commit
cb5e017ba6
2
types/p5/lib/addons/p5.dom.d.ts
vendored
2
types/p5/lib/addons/p5.dom.d.ts
vendored
@ -678,7 +678,7 @@ declare module '../../index' {
|
||||
* @return the x and y position of the element in an
|
||||
* object
|
||||
*/
|
||||
position(): object;
|
||||
position(): { x: number, y: number };
|
||||
|
||||
/**
|
||||
* Sets the position of the element relative to (0,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user