According to a course notes I am following, a topological space cannot have a finite underlying set, because it is locally homeomorphic to $R^d$, and $R^d$ is an uncountable set.
However, why can't I define the set $M=$ { $1$ } together with the indiscrete topology $O$, and the map $f: M \to R$, where $f(1)= e$ (or any other real number), to be a finite topological space that maps to a single element in $R$?
In this case there are no open subsets of $R$ to which $f$ maps, so the preimage of all open maps in the target is the nullset in the domain, which is also an open set in the domain.
Hence $(M, O, f)$ should be a topological manifold. Anything wrong with my reasoning?