diff --git a/js-base64/js-base64.d.ts b/js-base64/js-base64.d.ts index a26d24ea54..bd195e3885 100644 --- a/js-base64/js-base64.d.ts +++ b/js-base64/js-base64.d.ts @@ -19,37 +19,36 @@ add methods: - [ ] noConflict */ -declare namespace Base64 { - const Base64: Base64Static - interface Base64Static { - /** - * .encode - * @param {String} string - * @return {String} - */ - encode(base64: string): string; - - /** - * .encodeURI - * @param {String} string - * @return {String} - */ - encodeURI(base64: string): string - - /** - * .decode - * @param {String} string - * @return {String} - */ - decode(base64: string): string - - /** - * Library version - */ - VERSION:string - } -} - declare module 'js-base64' { - export = Base64 -} \ No newline at end of file + namespace JSBase64 { + const Base64: Base64Static + interface Base64Static { + /** + * .encode + * @param {String} string + * @return {String} + */ + encode(base64: string): string; + + /** + * .encodeURI + * @param {String} string + * @return {String} + */ + encodeURI(base64: string): string + + /** + * .decode + * @param {String} string + * @return {String} + */ + decode(base64: string): string + + /** + * Library version + */ + VERSION:string + } + } + export = JSBase64 +}