Open Ah-Zheng opened 10 months ago
I use TypeScript to develop an auto attack bot. I want my bot not swing his arm. But the type is losing swing attribute
attack: (entity: Entity, swing: boolean) => Promise<void>
Can you clarify the problem? If the type is incorrect and it's breaking TypeScript, you can open a PR to fix it.
Versions
Detailed description of a problem
I use TypeScript to develop an auto attack bot. I want my bot not swing his arm. But the type is losing swing attribute
attack: (entity: Entity, swing: boolean) => Promise<void>