1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

feat(packages): add version jsdoc tags

This commit is contained in:
2024-09-30 06:20:45 +07:00
parent 975ca98f9a
commit 469ef8cdc2
7 changed files with 43 additions and 13 deletions

View File

@@ -1,7 +1,11 @@
// TODO: tests
/**
* @name _global
* @category Multi
* @description Global object that works in any environment
*
* @since 0.0.2
*/
export const _global =
typeof globalThis !== 'undefined'
@@ -12,4 +16,4 @@ export const _global =
? global
: typeof self !== 'undefined'
? self
: {};
: undefined;

View File

@@ -1,2 +1,2 @@
export * from './global';
export * from './debounce';
// export * from './debounce';