aboutsummaryrefslogtreecommitdiff
path: root/static/lib.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-01 16:17:46 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-01 16:17:46 +0100
commit44f8ae5ba2b6b4954d6562aff2f4e704cfa1a966 (patch)
treead2bb4386f402ca0201b997ea6aecd8b6c9f2d42 /static/lib.ts
parentlib. (diff)
downloadcalp-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 'static/lib.ts')
-rw-r--r--static/lib.ts3
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