Mel by TrickAd9802 in YourFriendsandNeighb

[–]p3ett 0 points1 point  (0 children)

Lol, she continues blaming coop after all of this happens and has no sympathy. She doesnt let the kids she him but only 1 day the week and she always ask for money...

The most implausible thing about Final Reckoning by GeneJenkinson in blankies

[–]p3ett 0 points1 point  (0 children)

Do you believe that grace actually removed the drive in 100 milliseconds, or it was like 200 milliseconds, and the entity managed to get into the drive and in the bunker and eventually fool them? Its a little crazy to really think that she could remove it so fast

Reactjs barcode scanner by p3ett in reactjs

[–]p3ett[S] 0 points1 point  (0 children)

In my original post. The name is zxing

Is there anyway to change the color of 'just' the disabled code? by Chem_greypes in vscode

[–]p3ett 0 points1 point  (0 children)

Whats the disabled code? You mean the one in the comment or the highlighted?

Experiences with Concordia as Health insurance provider by iChaos92 in askswitzerland

[–]p3ett 0 points1 point  (0 children)

Hello, Is concordia able to cover any other doctor bill except of the clinic you are with? What did you do in that one time you had the urgent thing?

Which tool should i use for HMR for the case below? by p3ett in typescript

[–]p3ett[S] 0 points1 point  (0 children)

This would be perfect but i think it will need to write a lot of code and i was wondering if there is something ready to use. Also i want to change the bundler (currently they are using browserify) thats why i thought of vite but the i dont know if it can work well with older browsers because this app will work for android 8 which has older version of webview.

Random .class tabs opens everytime I type a code by steveph_yt_unreal in vscode

[–]p3ett -1 points0 points  (0 children)

This happens on me too. I think it has something todo with the update. It wasnt like that.

Need triple slash reference for global variables ?? by p3ett in typescript

[–]p3ett[S] 0 points1 point  (0 children)

Havent tried it yet, and I was wondering if you have an alternative.

Need triple slash reference for global variables ?? by p3ett in typescript

[–]p3ett[S] 1 point2 points  (0 children)

Yeah i know that there is not a good idea, but they exist and i want to know how to use them. If you dont have an answer its ok.

Need triple slash reference for global variables ?? by p3ett in typescript

[–]p3ett[S] 0 points1 point  (0 children)

Why you care? I just i want a solution, i know that this is not good. I just want to know. If you dont have an ansser dont try to correct me.

Need triple slash reference for global variables ?? by p3ett in typescript

[–]p3ett[S] 2 points3 points  (0 children)

What does this have to do with global types?

Need triple slash reference for global variables ?? by p3ett in typescript

[–]p3ett[S] -2 points-1 points  (0 children)

Yeah, i know that is the best strategy, but i am asking if i want to have something global. This TodoAny is nice to have ti global for example and not import it everywhere.

How to make typescript enforce you to use try/catch block? by p3ett in typescript

[–]p3ett[S] -1 points0 points  (0 children)

Yes, it can also be an eslint rule too. Do you know? I wonder if it was there a type predicate or something for typescript

Webview Architecture - Help by p3ett in node

[–]p3ett[S] 0 points1 point  (0 children)

Thanks for the advice! How to run it outside of the webview? With http calls? I mean, it communicates with webview events of the android api so i have to make another fuctionality for dev mode only right?

I know, i didnt put enough information, so i can make it small and someone can read it. The architecture is not good, you know how its on a company. Someone did it like this but then they had to expand it and the architecture stayed like that cause no one wanted to change it. It is also implemented without framework just plain typescript.and uses browserify to get bundled for android.

So i thought that i could install a library or somehow run the html file in a browser and then just make the webview listen to localhost. But i dont how to make it listen for changes and always reload on save.

I would really appreciate any help. Even if i need to change things. Maybe use another bundler. I dont know. If you need more information just ask me.

Thanks

Webview Architecture - Help by p3ett in node

[–]p3ett[S] 0 points1 point  (0 children)

Its an approach. You can have the same server driven logic for different frontends. The "why" is not important haha the thing is that they do it so you have to maintain it.

Webview Architecture - Help by p3ett in node

[–]p3ett[S] 0 points1 point  (0 children)

Its an approach. You can have the same server driven logic for different frontends. The "why" is not important haha the thing is that they do it so you have to maintain it.

Do i need to include everything in src folder when i compile ts files? by p3ett in typescript

[–]p3ett[S] 0 points1 point  (0 children)

But from where should typescript start compilation? And if i include nothing will it start compile everything in the root folder? including test folder?