Skip to content

Commit

Permalink
Fix bulid error because of the breaking change in typescript 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tngan committed Nov 4, 2017
1 parent 26d2a4f commit a8708a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 2 additions & 6 deletions @types/xml-encryption.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ declare module "xml-encryption" {
export function encryptKeyInfo(symmetricKey: string, options: EncryptOptions, callback: Callback): string;
export function decrypt(xml: string | Document, options: DecryptOptions, callback: Callback): string;
export function decryptKeyInfo(doc: string | Document, options: DecryptOptions): string;
export default {
decrypt,
encrypt,
decryptKeyInfo,
encryptKeyInfo,
}
const _default: { decrypt, encrypt, decryptKeyInfo, encryptKeyInfo };
export default _default;
}
5 changes: 2 additions & 3 deletions @types/xpath.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ declare module "xpath" {
XMLNS_NAMESPACE_URI: string;
}
export function select (e, doc, single?): string | number | boolean | any;
export default {
select
}
const _default: { select };
export default _default;
}

0 comments on commit a8708a6

Please sign in to comment.