1
6
Biome v2.1 released (biomejs.dev)
submitted 5 days ago by [email protected] to c/[email protected]
2
6
Announcing TypeScript 5.9 Beta (devblogs.microsoft.com)
submitted 6 days ago by [email protected] to c/[email protected]
3
5
submitted 3 weeks ago by [email protected] to c/[email protected]

cross-posted from: https://programming.dev/post/32376875

Biome is a formatter and linter for web languages: JavaScript, TypeScript, CSS, HTML, JSON, and GraphQL.

Version 2 adds type-aware lint rules and it is the first TypeScript linter that does not require tsc. Other new features include:

  • Monorepo support
  • GritQL Plugins
  • Revamped, configurable import sorting
  • Linter domains
  • Bulk suppressions
  • Analyzer assists
  • Many new lint rules
4
10
submitted 1 month ago by [email protected] to c/[email protected]
5
5
submitted 3 months ago by [email protected] to c/[email protected]

I'd like to validate untrusted config JSON submitted to my application against a TypeScript interface. If it's bad, I'd like to serialize a TypeScript object with default values, and suggest it as a pattern.

Last time I looked, TypeScript didn't provide runtime access to types and interfaces, so I'm not clear if that's possible without build-time tomfoolery.

I'd prefer to avoid JSON schemas if I can, but I guess that's an option too.

Are there libraries or new-ish language features that I could use?

6
10
submitted 4 months ago by [email protected] to c/[email protected]
7
10
submitted 4 months ago by [email protected] to c/[email protected]
8
4
submitted 4 months ago by [email protected] to c/[email protected]
9
28
A 10x Faster TypeScript (devblogs.microsoft.com)
submitted 4 months ago by [email protected] to c/[email protected]
10
3
submitted 4 months ago by [email protected] to c/[email protected]
11
6
submitted 4 months ago by [email protected] to c/[email protected]
12
1
submitted 4 months ago by [email protected] to c/[email protected]
13
2
submitted 4 months ago by [email protected] to c/[email protected]
14
6
Branded Types | Learning TypeScript (www.learningtypescript.com)
submitted 4 months ago by [email protected] to c/[email protected]
15
12
submitted 4 months ago by [email protected] to c/[email protected]
16
8
submitted 4 months ago by [email protected] to c/[email protected]
17
12
Announcing TypeScript 5.8 (devblogs.microsoft.com)
submitted 4 months ago by [email protected] to c/[email protected]
18
11
Announcing TypeScript 5.8 Beta (devblogs.microsoft.com)
submitted 5 months ago by [email protected] to c/[email protected]
19
9
Announcing TypeScript 5.7 (devblogs.microsoft.com)
submitted 7 months ago by [email protected] to c/[email protected]
20
18
submitted 8 months ago by [email protected] to c/[email protected]

A trick that I'd like sharing :)

21
8
Announcing TypeScript 5.6 (devblogs.microsoft.com)
submitted 10 months ago by [email protected] to c/[email protected]
22
7
Announcing TypeScript 5.6 RC (devblogs.microsoft.com)
submitted 10 months ago by [email protected] to c/[email protected]
23
4
submitted 11 months ago by [email protected] to c/[email protected]

cross-posted from: https://programming.dev/post/18004176

I think object algebras have huge potential to improve the way complex software is written but I've never seen them used in practice. I think one reason why is that the research paper which introduced them is pretty hard to read. This post is my attempt to change that.

I've been working on this post off and on for like two years so I'm really excited to share it with people. It is very long. There's a lot of ground to cover.

24
14
submitted 11 months ago by [email protected] to c/[email protected]

The issue? I'm the idiot. Any suggestions for a guide to JS/TS for someone trying to learn about front-end development.

25
13
Announcing TypeScript 5.6 Beta (devblogs.microsoft.com)
submitted 11 months ago by [email protected] to c/[email protected]
view more: next ›

TypeScript

1010 readers
6 users here now

founded 2 years ago
MODERATORS