Skip to content

Commit

Permalink
Add TypeScript definitions (#1186)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomholub authored and twiss committed Feb 9, 2021
1 parent fe51f97 commit c5aa647
Show file tree
Hide file tree
Showing 9 changed files with 1,047 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
node_modules/
npm*
test/lib/
test/typescript/definitions.js
dist/
openpgp.store/
.nyc_output/
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ matrix:
include:
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='lint'
- node_js: "14"
env: OPENPGP_NODE_JS='14' OPENPGPJSTEST='test-type-definitions'
- node_js: "10"
env: OPENPGP_NODE_JS='10' OPENPGPJSTEST='unit'
- node_js: "12"
Expand Down
3 changes: 2 additions & 1 deletion lightweight/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"name": "openpgp-lightweight",
"main": "../dist/lightweight/openpgp.min.mjs"
"main": "../dist/lightweight/openpgp.min.mjs",
"types": "../openpgp.d.ts"
}
Loading

0 comments on commit c5aa647

Please sign in to comment.