in packages/prettier-plugin-vertical-align/src/printer.ts [120:127]
function isPropertyContainer(node: AstPath["node"]) {
return (
node.type === "ObjectExpression" ||
node.type === "TSInterfaceBody" ||
node.type === "TSTypeLiteral" ||
node.type === "ClassBody"
);
}