I'm trying to make my first contribution to DefinitelyType repo but vscode shows me this eslint error in every .ts files in this repo: Parsing error: ...
I'm trying to make my first contribution to DefinitelyType repo but vscode shows me this eslint error in every .ts files in this repo: Parsing error: ...
I have this typescript which works: Now I want to add type definitions, so I created node_modules/@types/react-native-ytdl/index.d.ts which contain ...
Context I am developing an npm package using Typescript so types are being shipped alongside the library, basically: index.d.ts file contains glob ...
I have Forked DefinitelyTyped and made changes to the types of a library. . I would like to test them from my fork instead of the upstream". Updated m ...
If my project includes @types/braintree-web and I import braintree from 'braintree-web' const client = braintree.client then client is properly ty ...
I maintain a TS app using Node's cluster API that built fine with Node 14.x and Node 14.x cluster types from DT. As I move this app to Node 16.x, I b ...
I'd like to use Ramda to clone and update objects in a type-safe way (inspired by this idiom) but I can't get it working in a type-safe way. Updating ...
As of now react 18 has entered beta state. I used npm install react@beta react-dom@beta to install beta version and then used npm install @types/react ...
My primary idea is to use Typescript ecosystem as an "editor" to create markdown SPECifications based on "domain" examples - the type safest possible ...
I'm seeing some API drift between the type declarations/definitions of a typescript DefinitelyTyped module (e.g. @types/prompts) and the javascript mo ...
React defines some (not all) DOM types in a file called global.d.ts, which is causing problems. There seems to be a conflict when using the EventListe ...
I am new to typescript and experimenting with porting an express app to use typescript. The server uses JWTs for authentication/authorisation and I ha ...
Every other Jest related package I've seen already is version 27, except this one. I'm not sure if that's intentional. Jest documentation states F ...
Installing the following (as of tabulator-tables@4.9.1): And then doing the following import Results in an error: Module Usage (Error node_modul ...
Context: We are developing a UI-component library with React and TypeScript and use react-table for our table component. The library is published as a ...
I have a typescript package in npm who stores all definitions to my projects: index.d.ts In my others project i install my npm package and vscode ...
I'm trying to create full typings for https://www.npmjs.com/package/keypress I've got the basic function typed out correctly (I think) but can't figu ...
I am working on developing a set of definitions for DefinitelyTyped, for the package Leaflet.Editable. Leaflet is notable in that it uses a partially ...
I m trying to create a DefinitelyTyped for a library, but when I import as alias import * as f from "foo"; I'm having this message This module can ...
I've stumbled across a strange behavior in typescript imports when using @mapbox/mapbox-sdk. I've installed both @mapbox/mapbox-sdk and @types/mapbox_ ...