function isTSNumericLiteralType(node) {
	let ancestor = node.parent;

	// Go up while we're part of a type union
	while (ancestor.parent.type === "TSUnionType") {
		ancestor = ancestor.parent;
	}

	// Check if the final ancestor is in a type alias declaration
	return ancestor.parent.type === "TSTypeAliasDeclaration";
}
Checks if the node is a valid TypeScript numeric literal type.
@param {ASTNode} node The node to be validated
@returns {boolean} True if the node is a TypeScript numeric literal type