А что мешает явно указать target: undefined?
с ним все работает
https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgILIN4Chm+WOKAcwjAC5kByOSgbhzwCMKAKQoixgey4BsI4IAJTIAvAD5kANy7AAJvQC+DLKEixEKAEKYGuAsVIVKjOnuTNkbYhRABXALaNoIidNkKsyrAHofAFQAJAEkAZWQANVQAJWDUADl-NAAZUIB5ZGDkeIBRHIARAuR-DOic9OSInOQtAE1kAGEAVVCSgFli2oAFYPiAcVVwaHgkRt08fHYjZDsQOQgYUAhPCctrDmQAZzAoUCJXSRl5JSwsMABPAAcUfzgiEjkmkGAuEDE0ZAAfGq-G04RXttkAgABYQBAAa1QFFu92WTxeb1E4zwBhI5CoNAANOY1uwDsDAXwIAA6XhcIjrER+ZCgGDQZbIOCbCw8fiCLz-QFgYFgyFaGF3B4I17vbATNHTEyUHGrVj4sSSAEgTbEskUqnIGl0hlyJks+xOaCcrDKoGg8EQhqCuGPZ6i5Hi1FTDGzeaLEDLWVMeXEAlmtXkykKmmCc7IACEUZN8wQvEIKDNPIAHjbhfaQKdNgB3YBgUFWZMkyVgERO3AIZkoaiUMjmCZFxgsHZ2CBCetMKACCHmSubaumOsTBskpsARnbw873d7VZmcwWSzkQ6nyEbLGomzklEnq8YXbgPcUQA