Trying to make object oriented (Class based) typescripts in blocks for microbit

I have two questions

I want to make some typescript files, add blocks and test them on microbit. I have tried multiple ways and instructions of installing and using the pxt-microbit, including this “”. I got some errors while installing and searched a lot and found solutions and installed too. After installing, I keep seeing under “problems” some C++ related errors like “#include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (C:\Users\User1\pxt-microbit\libs\core\led.cpp).” -even if I don’t make a single change to the actual project. I call pxt serve regardless and can see the webpage opening and I can create a project and see the existing blocks, but if I change anything in the blocks and call pxt serve again, I don’t see any changes in the blocks (I am trying minimal changes such as just changing some words in descriptor.

Please let me know what I can do? I have tried multiple things but nothing has worked so far.

  1. I want to make class-based(object oriented) typescripts for adding blocks to support connecting microbits to multiple clickboards. I wanted to know if there are any good sources or any instructions for the same.

Go to the and edit your typescript blocks directly from MakeCode. We have GitHub support integrated now.

Thanks for the reply.
I want to add new .ts files of mine, which I don’t see an option of. Also, the files that do exist cannot be edited. I want to create blocks of my own.

This video should help you