diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-01 16:17:46 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2021-11-01 16:17:46 +0100 |
commit | 44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966 (patch) | |
tree | ad2bb4386f402ca0201b997ea6aecd8b6c9f2d42 /static/lib.ts | |
parent | lib. (diff) | |
download | calp-44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966.tar.gz calp-44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966.tar.xz |
Limit exports to those used by imports.
This gives a clearer picture of what is dead code and what isn't.
Diffstat (limited to '')
-rw-r--r-- | static/lib.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/static/lib.ts b/static/lib.ts index fe5ef1bd..d8e881ac 100644 --- a/static/lib.ts +++ b/static/lib.ts @@ -9,6 +9,9 @@ export { General procedures which in theory could be used anywhere. */ +/* + * https://www.typescriptlang.org/docs/handbook/declaration-merging.html + */ declare global { interface Object { format: (fmt: string) => string |