From 9299c64afed9f03f80ba400b8583ac64e66bacc3 Mon Sep 17 00:00:00 2001 From: Elin Angelow Date: Thu, 4 Jan 2024 14:52:16 +0200 Subject: [PATCH] docs --- types/lib/helpers.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 types/lib/helpers.d.ts diff --git a/types/lib/helpers.d.ts b/types/lib/helpers.d.ts new file mode 100644 index 0000000..43c851e --- /dev/null +++ b/types/lib/helpers.d.ts @@ -0,0 +1,8 @@ +export type AddValue = { + fn: any; +}; +/** + * @typedef {Object} AddValue + * @property {import('../types.js').messageFn} fn + */ +export function counter(): () => number;