If I understand your question correctly, you have a Post entity with a countries column of type text[]. You then try to find posts that have at least one of the following countries: "Sri Lanka" or "Nepal".
This is not a TypeORM issue. It is currently not possible in PostgreSQL to find any records that have these kind of intersections using two arrays and the ANY() function. Instead try to use an array operator, such as @>.
Please have a look at the last part of Sudharsan Thumatti's answer in the following similar question:
https://stackoverflow.com/a/54069718/3298175
Please note that array functions aren't always performant as someone might expect. Perhaps you are better off with a second table called countries that has a foreign key to posts in stead, creating a one-to-many relation. A junction table could help as well if you would prefer a many-to-many relation, allowing you to reuse the countries table.