Skip to content

incorrect indentation in some edge cases #45

Closed
@manuel3108

Description

@manuel3108

detected while implementing #44

declare global {
	namespace App {
		interface Error {
			prop: boolean;
		}
	}
}

export {};

gets transformed to

declare global {

		namespace App {
			interface Error {prop: boolean}
		}

}

export {};

If you remove the prop though, everything works as expected:

declare global {
	namespace App {
		interface Error {}
	}
}

export {};

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