From ee7bb17fe93d7a43ee2ed2a597e41cfefbaa2a17 Mon Sep 17 00:00:00 2001 From: Grace Lin Date: Wed, 10 Jan 2024 14:28:51 -0800 Subject: [PATCH] updaing setBoundVariables typings --- plugin-api.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin-api.d.ts b/plugin-api.d.ts index 6271f82..6e430bb 100644 --- a/plugin-api.d.ts +++ b/plugin-api.d.ts @@ -179,17 +179,17 @@ interface VariablesAPI { setBoundVariableForPaint( paint: SolidPaint, field: VariableBindablePaintField, - variable: Variable, + variable: Variable | null, ): SolidPaint setBoundVariableForEffect( effect: Effect, field: VariableBindableEffectField, - variable: Variable, + variable: Variable | null, ): Effect setBoundVariableForLayoutGrid( layoutGrid: LayoutGrid, field: VariableBindableLayoutGridField, - variable: Variable, + variable: Variable | null, ): LayoutGrid importVariableByKeyAsync(key: string): Promise }