question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TypeScript version

See original GitHub issue

First of all, thank you for your awesome work, it is really far from trivial to implement the signing of PDFs in pure node. Great job.

In our team we are writing all the JavaScript code in TypeScript, so it is better manageable, better understandable and less error-prone and I was quite missing the type safety it in the node-signpdf. So I have stopped a little bit to migrate all the code to TypeScript (including tests). I was not able to back-engineer all the types used, so in few edge cases I have used magical keyword any.

All package.json scripts work, all tests pass, everything seems to be ok. If you are interested I can send you PR.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vbuchcommented, Jan 31, 2020

I’ve started some restructuring of the code that will eventually produce 2.0. Once I have things going, I will be glad to convert to TS if you would help. My current plan is to produce multiple npm packages so that people don’t get pdfkit helpers when they don’t use them for example. So signing is one package and there are packages for separate helpers. As I said, I’ve started it in the restructure branch but not sure when I will be making more progress. I’ll ask your help in converting to TS once I have it rolling.

0reactions
stale[bot]commented, Apr 25, 2021

This issue has been automatically marked as stale because it has not had activity in the past 90 days. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

typescript - npm
TypeScript is a language for application scale JavaScript development. Latest version: 4.9.4, last published: 24 days ago.
Read more >
How to set up TypeScript
If you are using Node.js, you want the npm version. If you are using MSBuild in your project, you want the NuGet package...
Read more >
Documentation - TypeScript 3.9
Recent versions of TypeScript (around 3.7) have had updates to the declarations of functions like Promise.all and Promise.race .
Read more >
TypeScript: JavaScript With Syntax For Types.
TypeScript extends JavaScript by adding types to the language. ... TypeScript is a strongly typed programming language that builds on ... version :...
Read more >
Documentation - TypeScript 4.5
TypeScript 4.5 Release Notes.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found