prettier-plugin-java types are using relative paths to reference java-parser.
printers: {
java: {
print(path: import("prettier").AstPath<import("../../java-parser/api.js").ArrayInitializerCstNode & {
comments?: import("./comments.js").JavaComment[];
}> | import("prettier").AstPath<import("../../java-parser/api.js").VariableInitializerListCstNode & {
It fails to find types if java-parser is installed deeper in node_modules path.
See jhipster/generator-jhipster#29952
prettier-plugin-java types are using relative paths to reference java-parser.
It fails to find types if java-parser is installed deeper in node_modules path.
See jhipster/generator-jhipster#29952