refactor: convert the main extension file to TS
This MR converts one of the last remaining JS files (the main entrypoint for the extension) to TS.
The conversion alone found a bug and two floating promises
Edited by Tomas Vik
This MR converts one of the last remaining JS files (the main entrypoint for the extension) to TS.
The conversion alone found a bug and two floating promises