@eleven-am/pondsocket 0.1.100 → 0.1.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket",
3
- "version": "0.1.100",
3
+ "version": "0.1.101",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",
package/types.d.ts CHANGED
@@ -855,7 +855,7 @@ declare function GetLeaveEvent(): ParameterDecorator;
855
855
  * @param callback - The callback to call when the decorator is used
856
856
  * @returns {ReturnType<callback>}
857
857
  */
858
- declare function createParamDecorator<Input> (callback: ParamDecoratorCallback<Input>): ParameterDecorator;
858
+ declare function createParamDecorator<Input> (callback: ParamDecoratorCallback<Input>): (input: Input) => ParameterDecorator;
859
859
 
860
860
  /**
861
861
  * @desc Marks a method as a handler for JoinRequest events. Throwing an error will reject the request with the error message.