Skip to content

Wrong signature of string.byte #12

@ElusiveMori

Description

@ElusiveMori

Current signature:
function byte(s: string, i?: number, j?: number): number;

Should be instead:
/** @tuplereturn */ function byte(s: string, i?: number, j?: number): number[];
Since string.byte returns a tuple of numbers, one for each character in the specified range.

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