I recently upgraded from ng9 to ng10, both my app and an external npm lib of mine. in the lib i use constructor(@Inject(DOCUMENT) private document: any) so i can get a hold of t