Skip to content

Commit 33a20a4

Browse files
committed
fix: change effect property types to any
1 parent 92120c1 commit 33a20a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,8 +1014,8 @@ export class Effect {
10141014
* @returns A property within an effect, e.g. `"Slider"`
10151015
* @param nameOrIndex The name or index of the property to retrieve
10161016
*/
1017-
param(nameOrIndex: string | number): Property<string> {
1018-
return new Property<string>("Effect Param");
1017+
param(nameOrIndex: string | number): Property<any> {
1018+
return new Property<any>("Effect Param");
10191019
}
10201020
}
10211021

@@ -1026,7 +1026,7 @@ export interface Effect {
10261026
* @returns A property within an effect, e.g. `"Slider"`
10271027
* @param nameOrIndex The name or index of the property to retrieve
10281028
*/
1029-
(nameOrIndex: string | number): Property<string>;
1029+
(nameOrIndex: string | number): Property<any>;
10301030
}
10311031

10321032
export class Mask {

0 commit comments

Comments
 (0)