Skip to content

Improve type inference from AST #74

@alexprey

Description

@alexprey

In the following PR #71 we introduce improvement for variable type inference, but it is not support more complex cases. For example, all arrays are not generic and all functions don't have specification.

input:

const output = [1, 2, 3];

expected output:

type: "Array<number>"

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions