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:
@@ -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;
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
export * from './global';
|
||||
export * from './debounce';
|
||||
// export * from './debounce';
|
||||
Reference in New Issue
Block a user