Questions tagged [typescript]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
5 views

Is there a typescript library with main lombok-style decorators?

I really like some patterns made much easier by the Lombok library. Annotations like @Builder and @Data will generate methods for me that I almost always want on certain kinds of objects. I'd like ...
0
votes
0answers
3 views

Is there an automatically javascript browser type checker that replaces unmatched type with default value?

While we have typescript to ensure (to an extend) that the project itself has cohesive types once we start requesting APIs to the backend we cannot ensure the types returned from the server would ...
0
votes
0answers
2 views

Runtime typing for REST JSON API in TypeScript

Is there anything better than io-ts library (except from making my own type guards) for runtime typing in TypeScript what I will mainly use to check JSON HTTP request schema? I am starting to hate ...
0
votes
0answers
121 views

Separate nested JSON object in Typescript

In my application, I am receiving a complex JSON object (like the next one): { "MainObject": { "Object1": [ { "ID": 1234, "Name": "Something1",...
0
votes
0answers
3 views

Looking for an elegant Guard-Close library for Typescript

(Hope this is on-topic here because StackOverflow considers these questions off-topic and shuts them down) In C# we have this nice guard-close library: https://github.com/ardalis/GuardClauses Is ...
1
vote
0answers
36 views

I need to Graphs like UML diagrams or Nodes for my app

I am looking for any open-source angular based module to integrate with the app I am working on my aim is to have options for drag and dropping the elements which should be connected with other nodes, ...
0
votes
0answers
4 views

is there any good server side framework for GraphQL and Mysql(or other RDB) on Typescript?

I write server side code Typescript (node8).RDB is mysql (cloudsql) and using ApolloGraphQL and not using any ORMapper.
1
vote
1answer
21 views

Tool to create validation functions for TypeScript?

I'm working with an existing codebase that I'm introducting TypeScript too. say I've got some frontend code that looks like this: const res = await fetch('/api/user'); const user = res.json(); ...