Masthash

#TypeScript

David Gardiner
4 hours ago

#TypeScript 5.1 is out

- Easier Implicit Returns for `undefined`-Returning Functions
- Unrelated Types for Getters and Setters
- Decoupled Type-Checking Between JSX Elements and JSX Tag Types
- Namespaced JSX Attributes
- `typeRoots` Are Consulted In Module Resolution
- Linked Cursors for JSX Tags
- Snippet Completions for `@param` JSDoc Tags
- Optimizations
- Breaking Changes

https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/?WT.mc_id=DOP-MVP-5001655

Webdev Weekly
6 hours ago
Daishi Kato
8 hours ago

Did you know? You can use Jotai in Deno.

#ReactJS #React #JavaScript #TypeScript #Jotai

Jobs for Developers
10 hours ago
Jobs for Developers
14 hours ago
Colin Gourlay
17 hours ago

Is anyone aware of a #Strava plugin for @obsidianmd that exists or is currently under development?

Or better yet, an #OpenSource #SelfHosting #training platform?

#typescript #svelte #obsidian #dotnet #csharp #foss

Wrestling with #TypeScript 🤢

export type MergedAttributes<
  T extends Record<string, unknown>,
  U extends Record<string, unknown>
> = {
  [K in keyof T]: T[K] extends undefined
    ? K extends keyof U
      ? U[K]
      : undefined
    : T[K]
}
Mark A. Rayner
20 hours ago

I thought it tasted a bit like burnt spam.

Typograhy: it matters!

#typography #typescript #font #fonts #proofreading #writingcommunity #writing #hat #humor #humour #funny

white ballcap with dark lettering: "YOU HAD MEAT COFFEE"

Thinking about my future... I have skills in IT, art and now possibly in geo/paleo. I would want to mix them together and have a well paying stable job sometime in 1-3 years from now on. Any ideas? Any sphere needs such soup of skills?
.
Mid (5yrs exp) #programmer #csharp #typescript #powershell #sql
.
#UI design (~2yrs exp) and #2D #art - #illustration (~10 yrs exp hobbyist)
.
Ongoing Master's degree in general #geology with concentration towards #paleontology and a plan on PhD

Crying and drooling very stylized cartoon prehistoric bird using microscope and using a pen
amen zwa, esq.
22 hours ago

I have a love-hate relationship with TypeScript. I love it only when I'm #programming #WebApps, but I hate it in general. #TypeScript's design was compromised, ab initio, by all the bad parts of #JavaScript.

https://www.typescriptlang.org/

@Catonauts @box464

I first encountered it in
#Misskey and I understood it as “LoveScript”. ​:cat_boost:​

The transliteration of the Nihongo word for love “あい” is “Ai”, since Misskey was created by a Japanese, I actually thought it was “LoveScript”.
😅

Though, if you think about it,
#AiScript or #LoveScript are better names than #JavaScript #ECMAScript and #TypeScript. ​:blobboneblewobblehyper:​

(Anyway, off-topic LOL.)

IT News
1 day ago

TypeScript 5.1 production release arrives -  TypeScript 5.1, featuring easier implicit returns for undefined-returning functions a... - https://www.infoworld.com/article/3694348/typescript-51-production-release-arrives.html#tk.rss_all #programminglanguages #softwaredevelopment #webdevelopment #typescript #javascript

Jobs for Developers
2 days ago

Metatheory is hiring Full Stack Engineer

🔧 #nft #javascript #typescript #react #node #graphql #rest #blockchain #web3 #aws
🌎 Remote; California, United States
⏰ Full-time
💰 $90k - $210k (Estimate)
🏢 Metatheory

Job details https://jobsfordevelopers.com/jobs/full-stack-engineer-at-metatheory-jan-10-2022-c50025?utm_source=mastodon.world&ref=mastodon.world
#jobalert #jobsearch #hiring

Josh Goldberg 💖
2 days ago

Good news for TypeScripties - the TypeScript Congress CFP is extended through June 30th!
We'd love anything TypeScript-y: knowing it, using it, integrations...

Also, if you want help on your proposal(s), hit me up! Happy to help 😊

typescriptcongress.com > Submit a Talk

#typescript #conference

IT News
2 days ago

Motion Canvas Helps Get Your Point Across - Generating videos for projects can be difficult. Not only do you have to create th... - https://hackaday.com/2023/06/05/motion-canvas-helps-get-your-point-across/ #softwaredevelopment #opensourcesoftware #documentation #typescript #video

RJ
2 days ago

"Understanding and Utilising TypeScript, by example - DEV Community 👩‍💻👨‍💻" https://dev.to/wearethreebears/understanding-and-utilising-typescript-by-example-1c0k #typescript #javascript #webdev

Tonio Loewald
2 days ago

Great moments in #TypeScript not being a programming language let alone a superset of Javascript…

Function is a bloody constructor. Sure, it's unsafe eval which is why there's an // eslint-disable-next-line above it.

keb
2 days ago

can any #typescript #javascript #js devs help me figure out how to type my deep merge utility? https://t.co/oZ5d4cgBMz

heise Developer
2 days ago

TypeScript: Version 5.1 bringt einfachere implizite Rückgaben

Microsoft erleichtert in TypeScript 5.1 die undefinierte Rückgabe von Funktionen und erlaubt jetzt unabhängige Typen für Get- und Set-Accessor-Eigenschaften.

https://www.heise.de/news/TypeScript-Version-5-1-bringt-einfachere-implizite-Rueckgaben-9164731.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

#JavaScript #Microsoft #Programmiersprachen #TypeScript #news

Nahaufnahme der Tastatur einer Harmond Multiplex Schreibmaschine
Fraser Tweedale
2 days ago

Brisbane Functional Programming Group #BFPG Tue 2023-06-20. Two presos: 1) #FP in #TypeScript 2) #Haskell project bootstrap - Cabal and haskell-ci. Be there or be a lambda cube! https://www.meetup.com/brisbane-functional-programming-group/events/293986409

Kevin Williams
3 days ago

Created the next design for my "Good People Write Good Code" sticker series. Here are the Ruby, Python, PHP and TypeScript flavors.

Available as stickers and assorted merch on my @kartedrop Redbubble shop - https://kartedrop.redbubble.com

#stickers #design #ruby #python #php #TypeScript #programming #coding #developer

Circular sticker design with the phase, "Good People Write Good Ruby" in red.
Circular sticker design with the phase, "Good People Write Good PHP" in purple.
Circular sticker design with the phase, "Good People Write Good TypeScript" in a two tone blue.
Circular sticker design with the phase, "Good People Write Good Python" in blue and yellow.
Jobs for Developers
3 days ago

Backbase is hiring Frontend Engineer - R&D

🔧 #typescript #angular #springboot #rest #cicd #html #json
🌎 Hyderabad, India
⏰ Full-time
💰 $100k - $200k (Estimate)
🏢 Backbase

Job details https://jobsfordevelopers.com/jobs/frontend-engineer-r-d-at-backbase-may-8-2023-fefd84?utm_source=mastodon.world&ref=mastodon.world
#jobalert #jobsearch #hiring

#cslnext

With latest commits, the functionality of the #rustlang based code is almost equivalent to the the #typescript prototype.

https://github.com/bdarcus/csln/commit/3b36cf5cb596e8379c7a122d325659667304aed6

It renders references with basic templates into a properly-sorted JSON AST, and I've implemented basic disambiguation (such as Doe, 2020c).

And it seems roughly 10x faster than the typescript code.

l4p1n 🇨🇭
3 days ago

I've started implementing a web user interface for #iwd (a daemon that lets you connect to wireless access points).

The backend code is in #Rust using #axum. To interface with iwd and its dbus interface, I'm using zbus, which has some very convenient code generation with proc macros.

The front-end code is written in #TypeScript using #ReactJS. Nothing special there. The annoying thing is integrating live events sent over websockets, but I think I've found something suitable for that.

NullVoxPopuli
3 days ago

Working on a thing. nbd, but I'm pretty excited about it.

Rendered/runnable snippets within the docs, generated straight from code.

This will allow for playing with property-specific live demos within the docs.

#Documentation #TypeDoc #EmberJS #TypeScript
#REPL

Lewis Westbury 💛💙🌱
3 days ago

I've been really circumspect about all the new web technologies... My career spans the birth and death of a lot of frameworks, and I trust #javascript about as far as I can throw it. It's a messy, unsafe language. Having worked with #React for a couple of weeks now, though, I have to say I'm changing my mind. It's what javascript should have been all along! (and there's always the option of working in #TypeScript...)

Webdev Weekly
3 days ago

Unexpected (by me anyway) behavior when destructuring indexed type

https://www.typescriptlang.org/play#code/PTAEHUFMBsGMHsC2lQBd5oBYoCoE8AHSAZVgCcBLA1UABWgEM8BzM+AVwDsATAGiwoBnUENANQAd0gAjQRVSQAUCEmYKsTKGYUAbpGF4OY0BoadYKdJMoL+gzAzIoz3UNEiPOofEVKVqAHSKymAAmkYI7NCuqGqcANag8ABmIjQUXrFOKBJMggBcISGgoAC0oACCbvCwDKgU8JkY7p7ehCTkVDQS2E6gnPCxGcwmZqDSTgzxxWWVoASMFmgYkAAeRJTInN3ymj4d-jSCeNsMq-wuoPaOltigAKoASgAywhK7SbGQZIIz5VWCFzSeCrZagNYbChbHaxUDcCjJZLfSDbExIAgUdxkUBIursJzCFJtXydajBBCcQQ0MwAUVWDEQC0gADVHBQGNJ3KAALygABEAAkYNAMOB4GRonzFBTBPB3AERcwABS0+mM9ysygc9wASmCKhwzQ8ZC8iHFzmB7BoXzcZmY7AYzEg-Fg0HUiQ58D0Ii8fLpDKZgj5SWxfPADlQAHJhAA5SASPlBFQAeS+ZHegmdWkgR1QjgUrmkeFATjNOmGWH0KAQiGhwkuNok4uiIgMHGxCyYrA4PCCigyCjIyQYS2S8AwAG9FCUSgBteKQPD5K6oSicZgAXWXVLXzEUAF9yY0qaBEHgAGLj5djjC8iegbDQEXLvlqPmHo+UmgT5jj7hFyB9x5U8L3HRQgA

Discussions: https://discu.eu/q/https://www.typescriptlang.org/play%23code/PTAEHUFMBsGMHsC2lQBd5oBYoCoE8AHSAZVgCcBLA1UABWgEM8BzM%2BAVwDsATAGiwoBnUENANQAd0gAjQRVSQAUCEmYKsTKGYUAbpGF4OY0BoadYKdJMoL%2BgzAzIoz3UNEiPOofEVKVqAHSKymAAmkYI7NCuqGqcANag8ABmIjQUXrFOKBJMggBcISGgoAC0oACCbvCwDKgU8JkY7p7ehCTkVDQS2E6gnPCxGcwmZqDSTgzxxWWVoASMFmgYkAAeRJTInN3ymj4d-jSCeNsMq-wuoPaOltigAKoASgAywhK7SbGQZIIz5VWCFzSeCrZagNYbChbHaxUDcCjJZLfSDbExIAgUdxkUBIursJzCFJtXydajBBCcQQ0MwAUVWDEQC0gADVHBQGNJ3KAALygABEAAkYNAMOB4GRonzFBTBPB3AERcwABS0%2BmM9ysygc9wASmCKhwzQ8ZC8iHFzmB7BoXzcZmY7AYzEg-Fg0HUiQ58D0Ii8fLpDKZgj5SWxfPADlQAHJhAA5SASPlBFQAeS%2BZHegmdWkgR1QjgUrmkeFATjNOmGWH0KAQiGhwkuNok4uiIgMHGxCyYrA4PCCigyCjIyQYS2S8AwAG9FCUSgBteKQPD5K6oSicZgAXWXVLXzEUAF9yY0qaBEHgAGLj5djjC8iegbDQEXLvlqPmHo%2BUmgT5jj7hFyB9x5U8L3HRQgA

#programming #typescript #webdev

BrainSportHero
3 days ago

Can You find a calculation & reach the result 360 with the given numbers?

Find a Calculation & reach the Target of:
515
Use every Number
exactly once:
8, 6, 1, 6

You can concatenate numbers and use operators: + - * / ( )

#Puzzle #Game made w. #Angular & #Typescript
play on:
http://puzzles.brainsporthero.com
#IndieGames #IndieDev #braintraining #brainteaser #braingame #puzzles #Math #Mathematics #logicgame #mindgame #trainyourbrain #mentalhealth #puzzles #mentalhealth #braintrainer #brainsport

Can You find a calculation and reach the result 360 with the given numbers?

Find a Calculation and reach the Target of:
515
Use every Number
exactly once:
8, 6, 1, 6

You can concatenate numbers and use operators: + - * / ( )

#Puzzle #Game made w. #Angular & #Typescript
play on:
http://puzzles.brainsporthero.com
#IndieGames #IndieDev #braintraining #brainteaser #braingame #puzzles #screenshotsaturday #Math #Mathematics #targetCalc #logicgame #mindgame #Training #trainyourbrain #mentalhealth #puzzles #instapuzzle #instapuzzles #mentalhealth #braintrain #braintrainer #brainsport
themer
3 days ago

@darkade python has always been on my list of languages to learn better. I’ve only ever done basic hello world scripts in it.

Agree that #typescript is great, and also that it’s not simple to set up (between tsconfig.json, integration with the frameworks, finding types for third party modules—or writing declarations files for ones that don’t have types 🫠—etc.). Also, compile times can start to get slow on large projects. But overall, definitely a productivity boon vs. #javascript

James Dreben
3 days ago

I regularly use and love #Typescript. I used to use #Python the most – it’s what I learned in and I am more interested in backends than frontends. I also am regularly using and really enjoying #Kotlin (so much better than #Java). But truly Typescript is bae.

#Julia is a joy to work with. Very much like Python but more powerful. If it had the library support Python or #JVM has I would probably prefer to use Julia for backends.

But Typescript really changed the game and now that’s probably my favorite language not just because of the language itself but because it has web dominance. Until I can write
#WASM with Python or Kotlin or Rust, and I’m building #web applications, TS is my lingua franca.

I want to try
#Rust because it’s the new hotness.

A•Reyes
4 days ago

I used to only work with python, then I moved to the cursed land of "fullstack" (don't fall for it kids) and mostly work with typescript. I like #typescript I think it's robust and clear, the only thing I don't like is that it has a ton of overhead

Every once in a while I have to use #python, and I remember that the philosophy is "batteries included" and I remember why I love it, while putting it in production is always a chore, getting something to run **right now** is the easiest thing ever

ravelin
4 days ago

@pitchie I would start with #typescript, as it basically obsoletes JavaScript. But as for frameworks, jumping in without exploring the language first is a but dangerous, imo. Still, I would recommend #react over #angular.

Daishi Kato
4 days ago

Waku v0.11.2 is released! 👉 https://github.com/dai-shi/waku

It now allows to deploy static websites on Vercel. See our website 👉 https://waku.gg
It's certainly developed with Waku. Fully with RSC, but no SSR for now.

#ReactJS #React #JavaScript #TypeScript #ServerComponents

Jobs for Developers
4 days ago
Jobs for Developers
5 days ago

Patreon is hiring Fullstack Engineer - Growth

🔧 #javascript #python #typescript #sql
🌎 San Francisco, United States
⏰ Full-time
💰 $139k - $193k
🏢 Patreon

Job details https://jobsfordevelopers.com/jobs/fullstack-engineer-growth-at-patreon-apr-27-2023-bfa266?utm_source=mastodon.world&ref=mastodon.world
#jobalert #jobsearch #hiring

thomas 🌸
5 days ago

I'm looking for a new position as a Software Engineer. I have 10+ years expierence, and I'm looking for Senior / Staff Roles, Node.js, React, JavaScript, Typescript! #webdev #software #engineer #jobhunt #hiring #nodejs #javascript #typescript #tech #layoff #programming #career #lookingforwork #coder #coding #nextjs #opensource #webcomponent #webcomponents #webDevelopment #softwareEngineering #react #reactjs #OpenToWork

Paul Wijhenke
5 days ago

Doing #typescript faster than the news.

Yesterday announced: https://devblogs.microsoft.com/typescript/announcing-typescript-5-1/

Current package.json:
```
"typescript": "5.1.3",
```

Guess it takes a bit longer to write a decent announcement :)

Alejandro Celaya
5 days ago

Every time I use `Omit<T, K>` in #typescript, I have to check if it's first the type and then the keys to omit, or the other way around.
Every... Single... Time... 😩

McFunkypants the #gamedev
6 days ago

check out my latest #dotbigbang creation!

"Murmuration"
a huge flock of starlings

fullscreen webGL demo:
https://dotbigbang.com/game/3b87b91e5ad244afbc786b6babe35872/murmuration

uses boids algorithm but seeks out two different targets to keep the flock from clumping into a ball.

#voxelart #typescript #madewithdbb #gamedev

a flock of starlings simulated in voxels
Jobs for Developers
6 days ago

Payfit is hiring Senior Site Reliability Engineer (SRE)

🔧 #typescript #aws #cicd #kubernetes #terraform #seniorengineer
🌎 Remote; Barcelona, Spain
⏰ Full-time
💰 $90k - $220k (Estimate)
🏢 Payfit

Job details https://jobsfordevelopers.com/jobs/senior-site-reliability-engineer-sre-at-payfit-com-may-4-2023-4e674b?utm_source=mastodon.world&ref=mastodon.world
#jobalert #jobsearch #hiring

6 days ago
Funky Bob
6 days ago

The #typescript message `This type parameter might need an `extends string` constraint.` will never not be funny to me.

In JS, what thing does _not_ extend a string? 😂

JDDoesDev
1 week ago

Guess who just got #TwitchAffiliate status. This guy! I'll be celebrating on my #stream tonight at 7:00 PM US Eastern by continuing to fail at #typescript, #react, and life. Come by and say hi. Maybe you'll be my first #twitch sub? https://twitch.tv/jddoesdev

1 week ago

Writing #TypeScript code in #PHPStorm. Need to write strings that look like:

'some-value-${Placeholder}'

But, the editor is automagically converting it to backticks and string interpolation:

`some-value-${Placeholder}`

I want PHPStorm to _NOT_ do this anymore but I can't find where this would be turned off in the settings.

Get what PHPStorm is trying to do, but I find it incredibly aggravating. I'm using single quotes instead of backticks _for a reason_.

Just published my new template for modern #node library development using #esbuild and #TypeScript:

https://github.com/foxkit-js/library-template

Alex Nedelcu ☕️
1 week ago

A lot of the #Scala ecosystem is maintained by the community. It's a very community-driven language. This makes any single project we rely on vulnerable, but the ecosystem is stronger IMO.

Just look at this “ScalablyTyped” project. Someone went ahead and created a #TypeScript to #ScalaJS types converter, which works and is ahead of solutions from other ecosystems:

https://scalablytyped.org

Occasionally, I'm awed by the productivity I see in this community, a very humbling experience.

Changelog
1 week ago

🗞 New episode of Changelog News!

🦍 Gorilla is an API store for LLMs
🎛️ Microsoft does #TypeScript for #IoT devices
🕸️ Nyxt: the hacker's browser
💸 Morgan Housel on expectations debt
🚨 There’s still no silver bullet
🎙 hosted by @jerod

🎧 https://changelog.com/news/46

Hacker News 50
1 week ago

Macro-ts: TypeScript compiler with typesafe syntactic macros (2022)

Link: https://blainehansen.me/post/macro-ts/
Discussion: https://news.ycombinator.com/item?id=36120659

#typescript

Webdev Weekly
1 week ago
Webdev Weekly
1 week ago

JECS - A JavaScript based Entity Component System. ECS are a popular pattern used in game development. The library has no dependencies, TypeScript support and is lightweight

https://github.com/Stuhl/javascript-entity-component-system

Discussions: https://discu.eu/q/https://github.com/Stuhl/javascript-entity-component-system

#javascript #programming #typescript #webdev

Golang Weekly
1 week ago

I made a little tool to see how many App Store downloads I've had, it's really hard to work out with their app and I want to make a little pi pico dashboard-y thing next!

It was a fun excuse to play around with Deno too.

#OpenSource #Deno #AppStore #JavaScript #TypeScript

https://github.com/robb-j/appstore-downloads

NullVoxPopuli
1 week ago

My new favorite way to setup the shadow root in my "Shadowed" component:

Look at how nice this is!!

`Shadow` could even be its own thing!

#EmberJS #TypeScript #JavaScript

Hazelnoot
2 weeks ago

Well this is fun. Not sure if its a compiler bug or language limitation.

#TypeScript #Programming #Coding

TypeScript code showing a language inconsistency around variadic tuple types.
⚡ Luis Montes 🚲
2 weeks ago

I'm not much of a typescripter, but I know people dig what it does for you tooling-wise with things like vscode.

That said, does copilot somewhat remove that particular advantage of TS vs plain JS?

#typescript #javascript #copilot

./orta therox
2 weeks ago

Spotted a new #TypeScript implementation (2nd one in the same space, also from Microsoft, new codebase though)

https://github.com/orta/awesome-typescript-derived-languages/blob/main/README.md#devicescript-2023---present

Khalid ⚡
2 weeks ago

Playing around with VanJS, which is a reactive UI framework for #frontend developers using #JavaScript and #TypeScript.

It’s pretty neat.

As a bonus. Modules are great and it’s nice to see folks moving in that direction.

Jay Freestone :jf_favi:
2 weeks ago

This is fantastic news for anyone who loves how fast esbuild/swc, but still needs tsc to generate type for consumers:

https://github.com/evanw/esbuild/issues/95#issuecomment-1559710310

Finally TS builds as whole will be instant, with type checking relegated to linting.

#typescript

Why use #TypeScript with #vuejs? If you don't see the benefits, check this talk by Daniel Kelly and discover why you need to start using it now https://www.youtube.com/watch?v=VBQ3_IXy3JA

Michigan TypeScript
2 weeks ago

We sat down with @andrewbranch from the #TypeScript team to discuss AreTheTypesWrong, a project that analyzes npm package contents for issues with their TypeScript types, particularly ESM-related module resolution issues.

https://youtu.be/8pOi1ccd280

Mattsi
2 weeks ago

My latest post on the Codurance blog shares many of my learnings from spending over a year leading a project to migrate a AngularJS project to Angular #angular #javascript #typescript https://www.codurance.com/publications/migrating-angularjs-to-angular

Pelle Wessman
2 weeks ago

Extended my #GitHubActions workflow for my #tsconfig to allow for me to manually run any specific #TypeScript version across all of my #typesInJs projects: https://github.com/voxpelli/tsconfig/commit/1af561694b48304b09ba68d6bf15c538f8b27c8c

Then ran it on the TypeScript 5.1.1-rc release and happily found that there seems to be no regressions for my projects: https://github.com/voxpelli/tsconfig/actions/runs/5058330599/jobs/9078310577

vp
2 weeks ago

#rust will be linguafranca of #blockchain and #ssi quite soon. i see a movement from #typescript and fast prototypes in #js to more modular #rust cross-platform libs.

Markus Tacker
2 weeks ago

Interesting to discover the effort by Microsoft to bring #TypeScript to embedded devices: https://microsoft.github.io/devicescript/

Anders Borch
2 weeks ago

OMG diesel’s compile errors are THE WORST!

I might get compile time errors if I do anything wrong, but those errors are completely unreadable.

With a runtime sql error, I’d at least be told which column was the problem.

I miss #TypeScript errors now.

Is there some way to make it human readable?

#rust #diesel

Webdev Weekly
2 weeks ago

Web Development recap for week 20/2023

https://discu.eu/weekly/webdev/2023/20/

#css #javascript #nodejs #programming #typescript #webassembly #webdev

Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium