oberknecht-emitters
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,3 +6,3 @@ import { oberknechtEmitterOptions } from "../types/oberknecht.emitter.options"; | ||
get _options(): oberknechtEmitterOptions; | ||
constructor(options: oberknechtEmitterOptions); | ||
constructor(options?: oberknechtEmitterOptions); | ||
on: (eventName: string | string[], callback: Function) => void; | ||
@@ -9,0 +9,0 @@ addListener: (eventName: string | string[], callback: Function) => void; |
@@ -16,3 +16,3 @@ import { convertToArray, extendedTypeof, returnErr } from "oberknecht-utils"; | ||
constructor(options: oberknechtEmitterOptions) { | ||
constructor(options?: oberknechtEmitterOptions) { | ||
let _options = options ?? {}; | ||
@@ -19,0 +19,0 @@ i.emitterData[this.symbol] = { |
{ | ||
"name": "oberknecht-emitters", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -22,3 +22,3 @@ "main": "export", | ||
"@types/node": "^20.2.5", | ||
"oberknecht-utils": "^1.3.7" | ||
"oberknecht-utils": "^1.3.9" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
39510
Updatedoberknecht-utils@^1.3.9