From 1fe86c3d9c971f2e61fbb95b1700cc4eb49c92a1 Mon Sep 17 00:00:00 2001 From: joshuaboud Date: Mon, 30 May 2022 14:31:21 -0300 Subject: [PATCH] add typedef for Ref --- navigator/src/globalTypedefs.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/navigator/src/globalTypedefs.js b/navigator/src/globalTypedefs.js index 8ca68be..7bbcbe2 100644 --- a/navigator/src/globalTypedefs.js +++ b/navigator/src/globalTypedefs.js @@ -21,3 +21,9 @@ * @callback ErrorCallback * @param {Error} error - The error to handle */ + +/** + * @template T + * @typedef {Object} Ref + * @property {T} value + */