@cordisjs/core
Advanced tools
Comparing version 3.13.3 to 3.13.4
{ | ||
"name": "@cordisjs/core", | ||
"description": "Meta-Framework for Modern JavaScript Applications", | ||
"version": "3.13.3", | ||
"version": "3.13.4", | ||
"sideEffects": false, | ||
@@ -6,0 +6,0 @@ "type": "module", |
@@ -102,3 +102,3 @@ import { deepEqual, defineProperty, isNullable, remove } from 'cosmokit' | ||
const original = typeof result === 'function' ? result : result.dispose.bind(result) | ||
const wrapped = () => { | ||
const wrapped = (...args: []) => { | ||
// make sure the original callback is not called twice | ||
@@ -108,3 +108,3 @@ if (disposed) return | ||
remove(this.disposables, wrapped) | ||
return original() | ||
return original(...args) | ||
} | ||
@@ -111,0 +111,0 @@ this.disposables.push(wrapped) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
200802