Skip to content

Fails if a class is using itself as argument in a method #2

@JanFellner

Description

@JanFellner

If you have a class that uses itself in a function as argument it´s not adopting the name of that argument:

class myobject {
	public compare(other: myobject): boolean {
		return true;
	}
}

current output:

export interface Imyobject {
    compare(other: myobject): boolean;
}

expected output:

export interface Imyobject {
    compare(other: Imyobject): boolean;
}

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