Results 240 comments of Lusito

Maybe I wrote this a bit confusing.. Only the first of the 3 approaches above is impossible. The other two are possible, but each have their downsides. I was hoping...

I just noticed, that I don't get the error anymore and checked: performance.now is globally available since Node 16, so it's no longer needed to have this fix. I wrote...

Another option would be the internal modifier, which has been a suggestion for quite a while: https://github.com/microsoft/TypeScript/issues/5228 But since it's not implemented yet, an alternative approach would be to add...

Made a tool for the post-processing: https://github.com/Lusito/idtsc Now all we need to do is add a jsdoc tag `@internal` to all internal classes, properties and methods and run this tool...

Interesting idea, but I'm not sure, how much work it would be to integrate that into the code generator. I'll check when I have some time. For the time being,...

I'll add the changes for sendMessage and sendNativeMessage. That part seems to be straight forward. However, onMessage is a different story. After all, it's not just about sendResponse, but also...

Thanks. You're right and I think this is the case for other places as well. I've created a PR: #97, which converts as many of the anys to unknown as...

Hi @leaumar, thanks for the suggestion. My thoughts about this: I've tried using this type of JSON type in the past in other projects and there have always been some...

Well, I'll leave this open as a feature request and once someone comes up with a good solution, I'll be happy to add it.

I'm aware that TypeScript has support. Not sure how you would like this to be implemented though. tsx-dom is currently always returning an HTMLElement. A Fragment is no HTMLElement. It...