build/lib/treeshaking.ts/findSymbolFromHeritageType
function findSymbolFromHeritageType(ts: typeof import('typescript'), checker: ts.TypeChecker, type: ts.ExpressionWithTypeArguments | ts.Expression | ts.PrivateIdentifier): ts.Symbol | null {
	if (ts.isExpressionWithTypeArguments(type)) {
		return findSymbolFromHeritageType(ts, checker, type.expression);
	}
	if (ts.isIdentifier(type)) {
		return getRealNodeSymbol(ts, checker, type)[0];
	}
	if (ts.isPropertyAccessExpression(type)) {
		return findSymbolFromHeritageType(ts, checker, type.name);
	}
	return null;
}