Nice quick article. How does Flow know what the Resource2 type consists of if you only imported the Resource1 type into your component? Is there somewhere in the .flowconfig where you can tell Flow where all of your types live?
I have updated the Codepen to show you how to do the dots. Some things to check for: