Skip to content

Conversation

@ShortArrow
Copy link

This variable is defined as type boolean. Cannot convert its type to integer|nil. (by sumneko.lua 3.14.0)

  • integer cannot match boolean
  • Type integer cannot match boolean
  • Type number cannot match booleanLua Diagnostics.(cast-local-type)

This variable is defined as type `boolean`. Cannot convert its type to `integer|nil`. (by sumneko.lua 3.14.0)
- `integer` cannot match `boolean`
- Type `integer` cannot match `boolean`
- Type `number` cannot match `boolean`Lua Diagnostics.(cast-local-type)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant