Skip to content

Commit

Permalink
Set type for context
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Nov 26, 2023
1 parent 4f70804 commit dd1b488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/PluginContext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit dd1b488

Please sign in to comment.