@splitscript.js/core
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 2.3.2 | ||
Build | ||
# 2.3.1 | ||
@@ -2,0 +6,0 @@ |
declare function root(dir?: string): string; | ||
type HandleFunction = (data: object, error: unknown) => unknown; | ||
declare function handleError(handleFunction: HandleFunction): void; | ||
/** | ||
* Catch all errors from listener functions | ||
*/ | ||
declare function handleError( | ||
/** function to run when a listener errors */ handleFunction: HandleFunction): void; | ||
export { EventEmitter } from './events/index.js'; | ||
export { root, handleError }; | ||
export type { HandleFunction }; |
{ | ||
"name": "@splitscript.js/core", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Core SplitScript.js library", | ||
@@ -5,0 +5,0 @@ "types": "./dist/types/index.d.ts", |
@@ -73,4 +73,4 @@ <a href="#"> | ||
<sub><code>v2.3.1</code> | by [ultraviolet](https://github.com/ultravioletasdf)</sub> | ||
<sub><code>v2.3.2</code> | by [ultraviolet](https://github.com/ultravioletasdf)</sub> | ||
</div> |
57363
0.21%1310
0.31%