TSubclassOf interface variable

I don’t know for the latest version. But in version 4.12 you could not store interface as variable like this.
You had to use TScriptInterface<IYourInterface> or to store your object as a UObject and then cast it in IYourInterface