@Danila Prey is actually older. And the only thing they have in common is the premise.
And to be perfectly fair, the premise of ghosts/monsters that only become harmful if you let them know you can see them is one of the oldest and most common in East Asian horror. It has even spilled onto Western horror films, I think.
Mieruko-chan's merit is in execution, not originality.