diff --git a/package/signal/package.json b/package/signal/package.json index 39df488dd..2f20cba57 100644 --- a/package/signal/package.json +++ b/package/signal/package.json @@ -11,6 +11,9 @@ "type": "module", "types": "signal.d.ts", "author": "S. Ali Mihandoost (https://ali.mihandoost.com)", + "contributors": [ + "MohammadMahdi Zamanian " + ], "license": "MIT", "files": [ "**/*.js", diff --git a/package/signal/src/signal.ts b/package/signal/src/signal.ts index dfdf21e15..afc35b242 100644 --- a/package/signal/src/signal.ts +++ b/package/signal/src/signal.ts @@ -80,7 +80,7 @@ export function removeSignalListener( */ export function dispatchSignal( signalName: SignalName, - value: VatrSignals[SignalName], + value?: VatrSignals[SignalName], options?: Partial, ): void { log('dispatchSignal(%s, %o, %o)', signalName, value, options);