TypeScript

844 readers
1 users here now

founded 2 years ago
MODERATORS
1
9
Announcing TypeScript 5.7 (devblogs.microsoft.com)
submitted 3 weeks ago by [email protected] to c/typescript
2
 
 

A trick that I'd like sharing :)

3
8
Announcing TypeScript 5.6 (devblogs.microsoft.com)
submitted 3 months ago by [email protected] to c/typescript
4
7
Announcing TypeScript 5.6 RC (devblogs.microsoft.com)
submitted 3 months ago by [email protected] to c/typescript
5
 
 

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.

6
 
 

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

7
13
Announcing TypeScript 5.6 Beta (devblogs.microsoft.com)
submitted 4 months ago by mac to c/typescript
8
9
10
11
Announcing TypeScript 5.5 (devblogs.microsoft.com)
submitted 6 months ago by [email protected] to c/typescript
11
7
submitted 7 months ago by lysdexic to c/typescript
12
 
 

Today I'm sharing a little trick that I like to use to make switch statements cleaner and more type-safe. Happy to hear other ideas!

13
 
 

DBOS Cloud, a transactional serverless computing platform, made possible by a revolutionary new operating system, DBOS, that implements OS services on top of a distributed database. We’ve used this new architecture to build a novel TypeScript transactional programming environment that enhances applications with automatic statefulness, transactionality, observability, and cyber-resilience. This makes fault-tolerant cloud-native application development much simpler and faster.

14
31
Announcing TypeScript 5.4 (devblogs.microsoft.com)
submitted 9 months ago by mac to c/typescript
15
10
Announcing TypeScript 5.4 RC (devblogs.microsoft.com)
submitted 10 months ago by mac to c/typescript
16
15
Announcing TypeScript 5.4 Beta (devblogs.microsoft.com)
submitted 10 months ago by mac to c/typescript
17
18
8
Remeda (github.com)
submitted 10 months ago by lorefnon to c/typescript
 
 

Modern utility toolbelt - rapidly evolving, type safe and esm friendly out of the box. No mutations.

19
8
typia (typia.io)
submitted 11 months ago by lorefnon to c/typescript
 
 

Typia is a transformer library supporting:

  • Super-fast Runtime Validators
  • Enhanced JSON functions
  • Protocol Buffer encoder and decoder
  • Random data generator
20
21
 
 

When developing APIs or writing integration solutions, we often fetch data from multiple sources and combine them together. This requires quite a bit of boilerplate even if you use utility libraries like lodash.

This library aims to be provide a simple type-safe utility that makes the task of combining multiple collections simpler using an intuitive association API.

You may find this API to be reminiscent of association APIs found in ORMs. However, collection-joiner is completely agnostic about how these collections are obtained - so you could for example, fetch a list of users from a database, a list of departments from another service, a list of roles from a key value store and merge them into a single hierarchy when constructing a response.

22
-5
OO awkward (self.typescript)
submitted 1 year ago by thepiggz to c/typescript
 
 

addEventListener accept function references rather than objects with expected methods like handleEvent

setTimeout and setInterval array map, filter, reduce, forEach, etc. promise then, catch, finally

bind awkward

closures

what say v8? hidden classes

fully init objects give me more perf tips

23
 
 
24
25
11
submitted 1 year ago by lysdexic to c/typescript
view more: next ›