TypeScript version
See original GitHub issueFirst 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:
- Created 4 years ago
- Reactions:3
- Comments:9 (4 by maintainers)
Top 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 >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
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.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.