Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
indefinitely-typed
Advanced tools
For TypeScript declarations that are still ...hatching.
Copies your folders into the dependee's node_modules/@types/
folder. Because that's where the TypeScript compiler might look for it - see TypeScript Module Resolution.
DefinitelyTyped is the repository for high quality TypeScript type definitions. Use this tool if:
Let's say that you want to create TypeScript declarations for cool-package
.
cool-package-typings
.npm install indefinitely-typed
.cool-package
.index.d.ts
.package.json
's scripts
, add a postinstall
script like this:"postinstall": "indefinitely-typed --folder cool-package"
Now, when somebody installs cool-package-typings
, they will have a node_modules/@types/cool-package
folder, readily usable by their TypeScript project.
If you have multiple packages, add more folder parameters like this:
indefinitely-typed --folder folder1 --folder folder2 --folder folder3
FAQs
🐣 Incubate your TypeScript declarations
We found that indefinitely-typed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.