Skip to content

Undefined type unknown #232

@devSparkle

Description

@devSparkle

The unknown type is a Luau builtin type; however, it is not recognised by Roblox LSP. Using this type in any script yields the following warning:

Undefined type `unknown`. Roblox LSP Diagnostics.(undefined-type)

While ideally there should be support for the behaviour that unknown aims to implement (it cannot be used as another type, forcing type refinement), the important change is to first disable this erroneous warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions