fix: typing so SelectQueryBuilder.getRawOne may return undefined (#7863)
fix: typing so SelectQueryBuilder.getRawOne may return undefined (#7863)

fixes #7449
typeorm/typeorm,typeorm/typeorm,typeorm/typeorm