About 58,100 results
Open links in new tab
  1. Automatically generate TypeScript classes from database tables

    Made a project to generate TypeScript classes from database tables, and I'm looking for input if the code is reasonable. pg and mysql are not hard dependencies - that's why they're @ts …

  2. javascript - Typescript type checking of hierarchical types - Code ...

    Jun 13, 2021 · I want to create a hierarchy of Typescript interfaces because I think classes would be an overkill in my case. The main obstacle is checking if an object has a specific type. I …

  3. Mapping Entities to DTOs in TypeScript - Code Review Stack …

    I introduced DTO classes for representing the data that is returned by the controllers when a client calls a REST route. Because the services work with Entities, I need to somehow map those to …

  4. typescript - Implementing custom observable classes - Code …

    May 19, 2019 · The rxjs classes for subjects and behavour subjects do so but also have the comment /** @deprecated This is an internal implementation detail, do not use. */ Is this …

  5. Recursively load all navigation properties of an entity

    Oct 17, 2023 · I have a table representing a class hierarchy using the TPH model. Some of those sub classes have navigation properties (collections and/or references). I'm trying to preload …

  6. generics - A TypeScript library allowing to call socket.io events like ...

    Jan 23, 2025 · I'm creating a Typescript library (full repository here) whose goal is to be able to call socket.io events as regular functions: Server side demo: import { Server } from "socket.io"; …

  7. java - Student Grade Calculation - Code Review Stack Exchange

    Jun 3, 2020 · Develop a smart application as Student Grade Calculator (SGC). Create a class Student with following private attribute : int id, String name, marks (integer array), float …

  8. Typescript robust Fetch wrapper with Retry and Error handling

    Jun 16, 2025 · Explore related questions error-handling api react.js typescript type-safety See similar questions with these tags.

  9. A countdown clock in TypeScript - Code Review Stack Exchange

    Mar 11, 2019 · The gist of the code is, you give it a date, it will start counting down how many days, hours, minutes and seconds left by emitting an event 'countDown' and once 0 is reached …

  10. Weather application data structures and design

    Dec 31, 2017 · export class WeatherData { date: string; city: string; country: string; temperature: number; minTemperature: number; maxTemperature: number; weather: any; weatherIcon: …