Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incorrect indentation in some edge cases #45

Open
manuel3108 opened this issue Feb 9, 2025 · 0 comments
Open

incorrect indentation in some edge cases #45

manuel3108 opened this issue Feb 9, 2025 · 0 comments

Comments

@manuel3108
Copy link
Member

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 {};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@manuel3108 and others