Skip to content

RegexMatch type doesn't seem exported? #370

@kittywitch

Description

@kittywitch

Can't annotate RegexCapture get result of RegexMatch under strict language mode on lune 0.10.4 even with lune setup to appease Luau LSP? In the below case, it doesn't matter because it can be handled by providing RegexCapture? and properly nil checking, but this is still a hole in exposed types.

Image

https://github.com/lune-org/lune/blob/main/crates/lune-std-regex/types.d.luau#L20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions