Update ImageEffector.ts

This commit is contained in:
syuilo 2025-05-30 13:20:43 +09:00 committed by GitHub
parent 236b8913d2
commit 1e9faff0db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type ImageEffectorFxParamDefs = Record<string, {
default: any;
}>;
export function defineImageEffectorFx<ID extends string, P extends ImageEffectorFxParamDefs, U extends string[]>(fx: ImageEffectorFx<ID, P, U>) {
export function defineImageEffectorFx<ID extends string, PS extends ImageEffectorFxParamDefs, US extends string[], TS extends string[]>(fx: ImageEffectorFx<ID, PS, US, TS>) {
return fx;
}