Щас в песочницу напишу)
https://www.typescriptlang.org/play?#code/KYOwrgtgBAogKgSwsAzlA3gKClA6sYAaygF4oB2AGmygFkB7EAFwAtSoBmARmpwAkAhgBsAZgE1gAgE7suADg68oE6ew4A2AKxLaA8MIAiApsHYAiCHrDCAtABNjwM9QC+mTKEiwGAN2DJmFAB5EQAxMBA7NCwcACVgAAchUAQUFgCmcylE5JBU9NAmZxpcKQQTEJFzAHcykxt6ERFinABJZmBslCYAQQBjPqlrIXMEDq6mGwEBoeFitw9waBgABSl6OzA+pmiaAGFGJjKAIzAmBEZzQEEQQ5Ozi5AWqABlYWkATz3pO3MUN6l3jY+t95u5PMt4n0EAkEIUMDQAEIEIRjYAAVQAXsciKkmHpzEjgCiQMAbJjsYRcXonmi+kSRmQzLT6TSMQxjghkuZMezOU4lABpegYsaEASY8xCkUgMUAOjAGKeRh89HMyvooMwTHeCVMcD2LGhRjxAB4YAA+dgxKDnJjJABcUG6ZRAAHMANw0HzCMDAR0wT04FBE4DbYB2R3Hej0ZJ6T0uT1anV6mBLFAG6FoMjwJCoKAAH289D8GWCYQiUQLsDWGy2OyrMEh0NhzET2t1UDg7XKCGEzzxJitNF1ZQ2jp6UikAneJv1hoSxoEZsQyBQ5vNgagEGL-kK4UiKHHk+ns4zC+MS5gvl3gRC+6i683CXWm22h6gE6nM7nRovZprr47I+NDZFCMKFEeX6nvOi5mk24HMMBCbuH0jDdE6A5+p23bnH2mFDjg24lnuFbvgA2gAukoI4XBGUCUdRL51uRVEgaGzYQfRFGYAsUCoSA6FdMATChJyJhSFmUAABTSFIkEnj+56mnAqaQOm85ruaACUpCWjQOA4LJsqWAkUkiGJnS6dJ6BQLKdnmUI4mUE6IZhnRIjCMGUAuFpWkoWhmQktU-aOI6XZ5LhQghYOZDWjRY5QEJIkWRJUndI4srxXYWlKERN4iaRjpJaJjmdCgaWYZlnS0Tlw5MW+RWoMJJXieV6UmJl9U7LVOCgRxzCNcGyWlal7XALKfUIUwfluEAA
https://www.typescriptlang.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