Fediciv's Comments

  • TS is great :)

    but also can you fix some bugs:

    - Typing for IRuntime["sortZOrder"], callback must return number not boolean;

    - Typing for ConstructEventTarget, first you need mapping which event fit to which argument

    type in callback, like it's work with default addEventListener in js, document.addEventListener("click", (e: MouseEvent) => {}), cause for now I have an error for example when listen pointerDown

    runtime.addEventListener("pointerdown", (e: PointerEvent) => {}) PointerEvent is not ConstructEvent;

    - Externally created files appears in project only if they are created in "scripts" subfolders which created via Construct, so you need to add "scripts" subfolder in Construct and then any added scripts in this folder in external IDE appears in Construct after update or preview with enable auto update;

    And again - Typescript is great, it's very nice you moving in this direction, thank you guys!

Fediciv's avatar

Fediciv

Member since 15 Oct, 2023

None one is following Fediciv yet!

Trophy Case

  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies