in packages/prettier-plugin-vertical-align/src/printer.ts [142:150]
function isProperty(node: AstPath["node"]) {
// JS has ObjectProperty, TS has Property
return (
node.type === "Property" ||
node.type === "TSPropertySignature" ||
node.type === "ObjectProperty" ||
node.type === "PropertyDefinition"
);
}