Twitter | Pretraživanje | |
Nathan Shively-Sanders
Programmer, linguist, dad, Christian. Expect tweets on type systems, video games or dialectology. Tweets are my own. Always bet on Javascript. He/him.
569
Tweetovi
51
Pratim
428
Osobe koje vas prate
Tweetovi
Nathan Shively-Sanders 20 h
downlevel-dts now converts fields into name-mangled normal privates. downlevel-dts now supports all the new 3.8 features, so try it out and let me know if it works for you!
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 22. sij
Odgovor korisniku/ci @jthoms1 @bterlson
When tried it he kept saying “I wish I could just read the spec” until I brought a Spanish grammar+dictionary into the office.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 22. sij
Odgovor korisniku/ci @SeaRyanC @wycats
Wasn’t Apple Podcasts part of iTunes once upon a time? Sounds like it’s an idiom that got updated, but was sensible before.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 22. sij
Tip: blocking the bus to get out of your car when you’re late does NOT guarantee you a seat, even if you’re super late.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 16. sij
Odgovor korisniku/ci @octogonz_ @SeaRyanC
You brought up a lot of good issues to consider. thanks!
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 16. sij
downlevel-dts now downlevels Typescript 3.8 d.ts files so you can *write* TS 3.8 code but *ship* types that are compatible with 3.5 and earlier. Check out the source at If you're interested in using it, please tell me. I need usability feedback!
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 15. sij
Odgovor korisniku/ci @drosenwasser @b0neskull i 2 ostali
This is a wishlist item, not a bug: Coverage-based testing. But it's a tall order because istanbul coverage runs out of memory on typescript. It's the #1 reason I've been following jest's progress with v8-native code coverage.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 8. sij
Odgovor korisniku/ci @jcansdale @andrewcdn
I think it's on their roadmap.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 8. sij
Odgovor korisniku/ci @andrewcdn @jcansdale
It's been pretty smooth for me, with the big limitation that package installation requires github authentication. Also the UI isn't as usable as npm's (and it's buggier).
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 6. sij
Odgovor korisniku/ci @phry
Can you point me to your {}-vs-unknown code? I don't know how hard it would be to detect that downlevelling would need to occur in that case.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 6. sij
Odgovor korisniku/ci @TypeS
I forgot, you can browse all 6,300+ packages with GH's UI: It's pretty barebones and a bit buggy right now.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 6. sij
Odgovor korisniku/ci @TypeS
Eventually, VS Code's Automatic Type Acquisition will use Github Packages to acquire for JS projects. Full details are here:
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 6. sij
packages are now mirrored on Github Packages. This is not used for anything just yet, but you can try it out: npm install @types/q --registry= For now you have to authenticate with Github; full instructions here:
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 6. sij
Odgovor korisniku/ci @phry
This sounds like exactly the kind of workflow I was planning for downlevel-dts. My first guess is that you want the tool to generate a ts3.3/ directory and copy over a 3.3-compatible d.ts from the 3.7 d.ts. Or do you already have a d.ts file in ts3.3/?
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 31. pro
@types/got -- why doesn't this package have anything to do with games or thrones?
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 31. pro
Google's starting to shame me because I can't remember URLs:
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 30. pro
Odgovor korisniku/ci @TitianCernicova @Private i 4 ostali
A quick reading of the example on the issue makes it look like we just need to make `` behave exactly like the implement clause in TS.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 30. pro
Odgovor korisniku/ci @TitianCernicova @Private i 4 ostali
I would love to get chrome-devtools-frontend onto Typescript, so it's a good idea to support them. However, I don't understand the Closure semantics of and . You should figure those out first.
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 30. pro
Follow-up to and : typescript@next now supports in Javascript, which behaves the same as readonly in Typescript: class C { /** */ x = 1 }
Reply Retweet Označi sa "sviđa mi se"
Nathan Shively-Sanders 19. pro
Odgovor korisniku/ci @sanders_n
Or Slack. Sometimes they think I work on Microsoft Slack.
Reply Retweet Označi sa "sviđa mi se"