Skip to content

H.Call<H.Strings.Length<string>> is 1 #124

@wdhwg001

Description

@wdhwg001

Hi,

I wonder if is expected but when I do:

import type * as H from "hotscript"

type a = H.Call<H.Strings.Length<string>>

type a is a literal 1.

Would it be better to return unknown or any if the arg is not a literal?

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