TypeScript not supported?
See original GitHub issueInstalled type
npm install @types/pdfkit
and import
import {PDFDocument } from 'pdfkit';
Module '"pdfkit"' has no exported member 'PDFDocument'.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Warning from typescript-estree when building TypeScript app
This warning appears: WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree. You may ...
Read more >gruntjs - Version of TypeScript not officially supported by ...
WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-eslint-parser.
Read more >Documentation - TypeScript 3.9
error: Type 'number' is not assignable to type 'string'. ... Visual Studio Code supports selecting different versions of TypeScript.
Read more >@typescript-eslint/typescript-estree - npm
A parser that converts TypeScript source code into an ESTree compatible form. Latest version: 5.47.1, last published: 2 days ago.
Read more >TypeScript Programming with Visual Studio Code
No, the TypeScript language service that ships with Visual Studio 2019 and 2022 isn't compatible with VS Code. You will need to install...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
import PDFDocument from "pdfkit";
works fineI guess it is fine.