Updating an in-place editable form application from Angular 4 to 5

In trying to update this application to Angular 5. But I encounter problems due to OpaqueToken which is currently replaced by InjectionToken.

How can I effectively address this?

Thank you