diff --git a/lz-string/index.d.ts b/lz-string/index.d.ts index 19c97c419f..d61e39a6ba 100644 --- a/lz-string/index.d.ts +++ b/lz-string/index.d.ts @@ -4,6 +4,8 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare var LZString: LZString.LZStringStatic; +export = LZString; +export as namespace LZString; declare namespace LZString { /** @@ -59,8 +61,8 @@ declare namespace LZString { decompressFromBase64(compressed: string): string; /** - * produces ASCII strings representing the original string encoded in Base64 with a few - * tweaks to make these URI safe. Hence, you can send them to the server without thinking + * produces ASCII strings representing the original string encoded in Base64 with a few + * tweaks to make these URI safe. Hence, you can send them to the server without thinking * about URL encoding them. This saves bandwidth and CPU * * @param uncompressed A string which should be compressed. diff --git a/lz-string/tslint.json b/lz-string/tslint.json new file mode 100644 index 0000000000..2221e40e4a --- /dev/null +++ b/lz-string/tslint.json @@ -0,0 +1 @@ +{ "extends": "../tslint.json" } \ No newline at end of file