From dd1b48848f1adf6476f57b05e26c06cf27432fa7 Mon Sep 17 00:00:00 2001 From: Marin Minnerly Date: Sat, 25 Nov 2023 18:48:32 -0800 Subject: [PATCH] Set type for context --- src/Plugin/PluginContext.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugin/PluginContext.lua b/src/Plugin/PluginContext.lua index 31a11d47..f6a82768 100644 --- a/src/Plugin/PluginContext.lua +++ b/src/Plugin/PluginContext.lua @@ -2,7 +2,7 @@ local flipbook = script:FindFirstAncestor("flipbook") local React = require(flipbook.Packages.React) -local PluginContext = React.createContext({}) +local PluginContext = React.createContext(nil :: Plugin?) export type Props = { plugin: Plugin,