mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 22:37:03 +00:00
Merge pull request #12754 from DefinitelyTyped/lz_string_module
Expose lz-string as a module
This commit is contained in:
Vendored
+4
-2
@@ -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.
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
{ "extends": "../tslint.json" }
|
||||
Reference in New Issue
Block a user