Skip to content

Commit

Permalink
fix: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrsky committed Jun 28, 2021
1 parent 56c6d82 commit e6f1bae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"scripts": {
"lint": "eslint 'src/**/*.{js,json,ts,tsx}'",
"prebuild": "rimraf dist",
"build": "tsc --module commonJS && typedoc --out docs --target es6 --theme minimal --mode file src --excludeNotExported",
"build": "tsc --module commonJS && npm run docs",
"docs": "typedoc --out docs --theme minimal src",
"test": "jest --coverage",
"debug": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
"test:watch": "jest --coverage --watch",
Expand Down
2 changes: 1 addition & 1 deletion src/trust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export function sign(

signer.signingKey = key.privateKey
signer.keyInfoProvider = {
getKeyInfo(signingKey, prefix) {
getKeyInfo(signingKey: any, prefix: any) {
// Optional keyInfo (or use autogenerated)
if (keyInfo) {
return keyInfo
Expand Down
7 changes: 0 additions & 7 deletions src/xml-crypto.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
type DOMImplementation = any
type XPathNSResolver = any
type XPathResult = any
type Attr = any
type Document = any
type Node = any

declare module 'xml-crypto' {
interface ComputeSignatureOptions {
prefix?: string
Expand Down

0 comments on commit e6f1bae

Please sign in to comment.