mirror of
https://github.com/robonen/tools.git
synced 2026-03-20 19:04:46 +00:00
refactor(pacakages/stdlib): add base jsdoc for each function
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { describe, it, expect, beforeEach, vi } from 'vitest';
|
||||
import { PubSub } from './index';
|
||||
import { PubSub } from '.';
|
||||
|
||||
describe('pubsub', () => {
|
||||
const event3 = Symbol('event3');
|
||||
|
||||
@@ -2,7 +2,9 @@ export type Subscriber = (...args: any[]) => void;
|
||||
export type EventsRecord = Record<string | symbol, Subscriber>;
|
||||
|
||||
/**
|
||||
* Simple PubSub implementation
|
||||
* @name PubSub
|
||||
* @category Patterns
|
||||
* @description Simple PubSub implementation
|
||||
*
|
||||
* @since 0.0.2
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user