Skip to content

Loosen string comparison #7

@isidornygren

Description

@isidornygren

As currently, it will fail if the types have a different amount of whitespaces, e.g if the checked type is { name: string, value: number } it will fail the check if the defined type is {name:string,value:number} which imo shouldn't fail, as it would be nice to be able to format the types in the comment nicer.
Especially if multiline type comments for complex types would work in the future, some kind of whitespace remover would definitely be needed.

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