Using IToolkit.h in a file causes the project to not compile because IToolkit.h requires additional include statements.
Suggestion to add SlateBasics.h as an include to IToolkit.h so that it can compile without needing to add other includes.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-21066 in the post.