fix: declared type name
This commit is contained in:
parent
f8337b37bf
commit
e7949b6c5f
|
@ -3,14 +3,14 @@
|
|||
|
||||
let cursor: HTMLDivElement;
|
||||
|
||||
type position = {
|
||||
type pos = {
|
||||
x: number;
|
||||
y: number;
|
||||
};
|
||||
|
||||
let disabled = false;
|
||||
let rawPosition: position = { x: 0, y: -100 };
|
||||
let position: position = { x: 0, y: 0 };
|
||||
let rawPosition: pos = { x: 0, y: -100 };
|
||||
let position: pos = { x: 0, y: 0 };
|
||||
|
||||
onMount(() => {
|
||||
window.addEventListener('mousemove', (e) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user