« first day (4135 days earlier)      last day (1037 days later) » 

01:34
I have a function fetch('yeet.org').then((result) => result.json())
typescript barks: Parameter 'result' implicitly has an 'any' type.
what's the type of result?
 
1 hour later…
 
4 hours later…
06:26
Hello! How do I get timezone name from abbreviation? Ex: passing PST should return America/Los_Angeles. I find moment to support the reversed version.
@Nina Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
 
6 hours later…
12:52
@TravisWhite is there a type declaration anywhere in that answer where the response on which .json is called is typed? Seems untyped
@Nina did you look at the moment source code? I would ask as a question on Stackoverflow proper
I just rewrote my function as await fetch('yeet.org').json() and tsc was happy
 
1 hour later…
14:12
Looking for some binary compiler alternative to pkg since we want to use imports instead of requires, should target win, osX and linux - any ideas besides nexe?
14:47
Afternoon, don't know if this is appropriate here so please forgive me otherwise.
Anyone knows how VS 2022 picks the typescript version it uses for providing intellisense? I have Typescript 3.8 specified in the project pakage.config file, yet the editor does not recognize the optional chaining .? syntax added in ts 3.7. Obviously, the thing works at runtime.
My understanding is that VS2022 does no longer use external SDK installation, and should just enforce whatever is provided, either by a nget package or a npm one (my case)
15:07
@SPArcheon From what I read for the compilation of TypeScript, VS 2022 gives you the flexibility to choose which version of TypeScript to use on a per-project basis. Projects configured for npm can specify their own version of the TypeScript language service by adding the TypeScript npm package. You can specify the version using the npm manager in supported projects. Note: The minimum supported version of this package is 2.1.

The TypeScript SDK has been deprecated in Visual Studio 2022. Existing projects that rely on the SDK should be upgraded to using the NuGet package. For projects that
@iLuvLogix yep, that is what the documentation on this page says. My understanding is that if you specify an npm package, then intellisense should use that version... but apparently it is not working that way.
Like I said, I am using the 3.8 typescript package yet the editor underlines any instance of the optional chaining operator as wrong syntax. The optional chain was introduced since version 3.7, so it should be supported in 3.8.
@SPArcheon I searched some question on SO about it - you don't seem to be the only person having that issue -> Google 'VS 2022 intellisense typescript optional chaining'
@iLuvLogix for that specific question the problem similar but not the same. In that case, the original poster is trying to use that syntax in javascript. So that probably is related to the target ecmascript/javascript build version. Anyway, thanks for the suggestion, will continue to look if something comes up
15:50
Hello all
16:06
hi
How you doing?
@SPArcheon I found VS very non-compliant when it comes to frondend tech. It tends to ignore tsconfig, package.json, eslintrc, etc. which are standard project-based configuration for JS projects for like a decade now. In some cases, you can instruct VS to actually respect them. However, I don't think I found a way to convince it that TS post version 3.3 exists. I suggest using a different editor. VSCode is pretty good.
@duhaime Yes, moment doesn't have that option. I ended up using this lib - npmjs.com/package/spacetime-informal. Thanks!
How do you go about deploying a React App on a local device ? Rather than deploying the app on Google play ?
I use an Android.
16:28
i've never explored deploying anything to google play/android
With IOS it's easy with testflight
@EdGzi For android you could use Google Play Console, Ubertesters, TestFairy, Appaloosa etc..
@VLAZ yep, that is an option. Right now I am using a development vm that had some preconfigured settings so I wanted to alter as little as I can but I guess that if anything fails... VS Code it is.
posted on February 10, 2022 by Cole Brown

The Beta channel is being updated to 99.0.4844.23 (Platform version: 14469.16.0) for most Chrome OS devices. If you find new issues, please let us know by visiting our forum or filing a bug. Interested in switching channels Find out how. You can submit feedback using ‘Report an issue...’ in the Chrome menu (3 vertical dots in the upper right corner of the browser).&nb

That said, tried to ask here, we will see if anyone knows or has a workaround
I guess you can also try looking for plugins but VS is stilll...not great. It's quite slow doing all its analysis, too in some cases.
16:36
@SPArcheon You could also give a feedback/report your issue at VS's dev-community page: developercommunity2.visualstudio.com/…
16:53
@iLuvLogix that would be a valid option.. if only I could be sure that this is really an issue and not just me missing something obvious.
17:21
@SPArcheon If you supply all the details of your setup (versions,etc), link your question on SO and it's somehow reproducable one might hope that it will attract some attention of the devs there. And if it's something obvious (which I doubt) maybe they can point you to the right direction..
17:35
@iLuvLogix Thank you
17:55
i hate dealing with timeout issues
i'm hitting a 20 second timeout, and i cant find a setting that affects it in any way shape or form. i can't even make it shorter, none of the configs i've found touch it
IIS -> Tomcat
 
2 hours later…
20:23
posted on February 10, 2022 by Srinivas Sista

The Dev channel has been updated to 100.0.4878.0 for Windows,Linux and Mac A partial list of changes is available in the log. Interested in switching release channels? Find out how. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or learn about common issues. Srinivas Sista Google Chrome


« first day (4135 days earlier)      last day (1037 days later) »