'variable FString is not a type name' in HiddenWordList.h (VS2019)

FYI I used a seperate word list text file to reduce compile times thanks to this post:

If nothing else works (or if you want a more efficient method), just place a text file of the words each on their own line and add this to the start function of the BullCowGameCartridge.cpp file (note: you’ll also need a member variable of type TArray<FString> in the header file (not the word list one, you can delete that if you use this method) called WordList.

const FString WordListPath = FPaths::ProjectContentDir() / TEXT("WordLists/HiddenWords.txt");
FFileHelper::LoadFileToStringArray(WordList, *WordListPath);

You can change the path to anything you want just make sure it’s inside the project’s content folder (the path in the text macro is relative so for example if your content folder was C:\PathToProject\BullCowGame\Content, then Test inside the text macro would resolve to C:\PathToProject\BullCowGame\Content\Test).