isaacscript-common 31.7.0 → 31.7.1
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.
package/dist/index.rollup.d.ts
CHANGED
|
@@ -1285,6 +1285,7 @@ export declare function calculateStageTypeRepentance(stage: LevelStage): StageTy
|
|
|
1285
1285
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
1286
1286
|
* registered with `Mod.AddCallback`.
|
|
1287
1287
|
*
|
|
1288
|
+
* @allowEmptyVariadic
|
|
1288
1289
|
* @ignore
|
|
1289
1290
|
*/
|
|
1290
1291
|
export declare function Callback<T extends ModCallback>(modCallback: T, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Class extends ModFeature, Fn extends AddCallbackParameters[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -1293,6 +1294,7 @@ export declare function Callback<T extends ModCallback>(modCallback: T, ...optio
|
|
|
1293
1294
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
1294
1295
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
1295
1296
|
*
|
|
1297
|
+
* @allowEmptyVariadic
|
|
1296
1298
|
* @ignore
|
|
1297
1299
|
*/
|
|
1298
1300
|
export declare function CallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Class extends ModFeature, Fn extends AddCallbackParametersCustom[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -14233,6 +14235,7 @@ export declare function printEnabled(enabled: boolean, description: string): voi
|
|
|
14233
14235
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
14234
14236
|
* registered with `Mod.AddPriorityCallback`.
|
|
14235
14237
|
*
|
|
14238
|
+
* @allowEmptyVariadic
|
|
14236
14239
|
* @ignore
|
|
14237
14240
|
*/
|
|
14238
14241
|
export declare function PriorityCallback<T extends ModCallback>(modCallback: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Class extends ModFeature, Fn extends AddCallbackParameters[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -14241,6 +14244,7 @@ export declare function PriorityCallback<T extends ModCallback>(modCallback: T,
|
|
|
14241
14244
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
14242
14245
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
14243
14246
|
*
|
|
14247
|
+
* @allowEmptyVariadic
|
|
14244
14248
|
* @ignore
|
|
14245
14249
|
*/
|
|
14246
14250
|
export declare function PriorityCallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Class extends ModFeature, Fn extends AddCallbackParametersCustom[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -29,6 +29,7 @@ import type { AllButFirst } from "../types/AllButFirst";
|
|
|
29
29
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
30
30
|
* registered with `Mod.AddCallback`.
|
|
31
31
|
*
|
|
32
|
+
* @allowEmptyVariadic
|
|
32
33
|
* @ignore
|
|
33
34
|
*/
|
|
34
35
|
export declare function Callback<T extends ModCallback>(modCallback: T, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Class extends ModFeature, Fn extends AddCallbackParameters[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -36,6 +37,7 @@ export declare function Callback<T extends ModCallback>(modCallback: T, ...optio
|
|
|
36
37
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
37
38
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
38
39
|
*
|
|
40
|
+
* @allowEmptyVariadic
|
|
39
41
|
* @ignore
|
|
40
42
|
*/
|
|
41
43
|
export declare function CallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Class extends ModFeature, Fn extends AddCallbackParametersCustom[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -43,6 +45,7 @@ export declare function CallbackCustom<T extends ModCallbackCustom>(modCallbackC
|
|
|
43
45
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
44
46
|
* registered with `Mod.AddPriorityCallback`.
|
|
45
47
|
*
|
|
48
|
+
* @allowEmptyVariadic
|
|
46
49
|
* @ignore
|
|
47
50
|
*/
|
|
48
51
|
export declare function PriorityCallback<T extends ModCallback>(modCallback: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParameters[T]>): <Class extends ModFeature, Fn extends AddCallbackParameters[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -50,6 +53,7 @@ export declare function PriorityCallback<T extends ModCallback>(modCallback: T,
|
|
|
50
53
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
51
54
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
52
55
|
*
|
|
56
|
+
* @allowEmptyVariadic
|
|
53
57
|
* @ignore
|
|
54
58
|
*/
|
|
55
59
|
export declare function PriorityCallbackCustom<T extends ModCallbackCustom>(modCallbackCustom: T, priority: CallbackPriority | int, ...optionalArgs: AllButFirst<AddCallbackParametersCustom[T]>): <Class extends ModFeature, Fn extends AddCallbackParametersCustom[T][0]>(target: Class, propertyKey: string, _descriptor: TypedPropertyDescriptor<Fn>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"decorators.d.ts","sourceRoot":"","sources":["../../../src/functions/decorators.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8DAA8D,CAAC;AAChG,OAAO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+CAElB,IAAI,CA6BR;AAED;;;;;;GAMG;AAEH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,iBAAiB,EAChE,iBAAiB,EAAE,CAAC,EACpB,QAAQ,EAAE,gBAAgB,GAAG,GAAG,EAChC,GAAG,YAAY,EAAE,WAAW,CAAC,2BAA2B,CAAC,CAAC,CAAC,CAAC,wGAO7C,MAAM,+CAElB,IAAI,CA6BR"}
|
|
@@ -9,6 +9,7 @@ local getTSTLClassName = ____tstlClass.getTSTLClassName
|
|
|
9
9
|
--- A decorator function that signifies that the decorated class method should be automatically
|
|
10
10
|
-- registered with `Mod.AddPriorityCallback`.
|
|
11
11
|
--
|
|
12
|
+
-- @allowEmptyVariadic
|
|
12
13
|
-- @ignore
|
|
13
14
|
function ____exports.PriorityCallback(self, modCallback, priority, ...)
|
|
14
15
|
local optionalArgs = {...}
|
|
@@ -31,6 +32,7 @@ end
|
|
|
31
32
|
--- A decorator function that signifies that the decorated class method should be automatically
|
|
32
33
|
-- registered with `ModUpgraded.AddCallbackCustom`.
|
|
33
34
|
--
|
|
35
|
+
-- @allowEmptyVariadic
|
|
34
36
|
-- @ignore
|
|
35
37
|
function ____exports.PriorityCallbackCustom(self, modCallbackCustom, priority, ...)
|
|
36
38
|
local optionalArgs = {...}
|
|
@@ -53,6 +55,7 @@ end
|
|
|
53
55
|
--- A decorator function that signifies that the decorated class method should be automatically
|
|
54
56
|
-- registered with `Mod.AddCallback`.
|
|
55
57
|
--
|
|
58
|
+
-- @allowEmptyVariadic
|
|
56
59
|
-- @ignore
|
|
57
60
|
function ____exports.Callback(self, modCallback, ...)
|
|
58
61
|
return ____exports.PriorityCallback(nil, modCallback, CallbackPriority.DEFAULT, ...)
|
|
@@ -60,6 +63,7 @@ end
|
|
|
60
63
|
--- A decorator function that signifies that the decorated class method should be automatically
|
|
61
64
|
-- registered with `ModUpgraded.AddCallbackCustom`.
|
|
62
65
|
--
|
|
66
|
+
-- @allowEmptyVariadic
|
|
63
67
|
-- @ignore
|
|
64
68
|
function ____exports.CallbackCustom(self, modCallbackCustom, ...)
|
|
65
69
|
return ____exports.PriorityCallbackCustom(nil, modCallbackCustom, CallbackPriority.DEFAULT, ...)
|
package/package.json
CHANGED
|
@@ -36,6 +36,7 @@ import { getTSTLClassName } from "./tstlClass";
|
|
|
36
36
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
37
37
|
* registered with `Mod.AddCallback`.
|
|
38
38
|
*
|
|
39
|
+
* @allowEmptyVariadic
|
|
39
40
|
* @ignore
|
|
40
41
|
*/
|
|
41
42
|
// We tell TypeDoc to ignore this function because it generates a bunch of spam.
|
|
@@ -55,6 +56,7 @@ export function Callback<T extends ModCallback>(
|
|
|
55
56
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
56
57
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
57
58
|
*
|
|
59
|
+
* @allowEmptyVariadic
|
|
58
60
|
* @ignore
|
|
59
61
|
*/
|
|
60
62
|
// We tell TypeDoc to ignore this function because it generates a bunch of spam.
|
|
@@ -74,6 +76,7 @@ export function CallbackCustom<T extends ModCallbackCustom>(
|
|
|
74
76
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
75
77
|
* registered with `Mod.AddPriorityCallback`.
|
|
76
78
|
*
|
|
79
|
+
* @allowEmptyVariadic
|
|
77
80
|
* @ignore
|
|
78
81
|
*/
|
|
79
82
|
// We tell TypeDoc to ignore this function because it generates a bunch of spam.
|
|
@@ -121,6 +124,7 @@ export function PriorityCallback<T extends ModCallback>(
|
|
|
121
124
|
* A decorator function that signifies that the decorated class method should be automatically
|
|
122
125
|
* registered with `ModUpgraded.AddCallbackCustom`.
|
|
123
126
|
*
|
|
127
|
+
* @allowEmptyVariadic
|
|
124
128
|
* @ignore
|
|
125
129
|
*/
|
|
126
130
|
// We tell TypeDoc to ignore this function because it generates a bunch of spam.
|