function getClosingBraceOfObject(node) {
			const lastProperty = node.properties.at(-1);

			return sourceCode.getTokenAfter(
				lastProperty,
				astUtils.isClosingBraceToken,
			);
		}
Gets '}' token of an object node.

Because the last token of object patterns might be a type annotation,
this traverses tokens preceded by the last property, then returns the
first '}' token.
@param {ASTNode} node The node to get. This node is an
     ObjectExpression or an ObjectPattern. And this node has one or
     more properties.
@returns {Token} '}' token.