Примерно так: https://www.typescriptlang.org/play?#code/JYOwLgpgTgZghgYwgAgCrALYQFoHsQQDKEYYoA5gM7IDeAsAFDLPIJwAO7FAXMiAK4YARtADcjFshhQIAR34QQCAJ68BwsRJYQAbtGUB9HcAgB3XkNy4ANhDghxTbXqiH2cchAtXb9x5N19A0oISkpgfG8bOwctZmByEFwZAzIsAC98CAMEAAsIBABrKN9Yp2YIAA9IEAATCFqDTIISmP8WNIhm7NwYGBCwNUERKHbmAG0YE2ta3kowKAoAXSGNKGQAH2RLaL9GAF9GRlBIWEQUAEkAMWna2jipW7mFigAaB504awVVkc3tnwxd4MQ4MRgIfDzZD8EIAEQg8H41jANwgM2oAF5kAAKAZkEBUXjoLB4AjEUgUSgASmQGIAfPdyqxIWBHmjapReNdbuMlrTkOMHpIaGyZrwAORsTgUcWvZCfb5eZAAJgALMgAFTIABsAAZNTr9ftgZJhaLZshxdI5AolMpZfKvj9kABGZDGoUsEVTdkSwKuIwmUwOhXO+DWELuk2m5jep6W-1uDwQENOpXhyMeplmn1ihMuQwhMIRECpxW8DMoLOSJZjZAPXMcgB0MGSAFFELlsdiaI25aGIPsafTGTH4jAcXjKZNbnyAIQYrH8OoI0ANGn0bNjqcEygz9l8rEDuuSUGnqmOB4QkCUaJN6y4ci4kj4qgXg6XhgwiDwxHI1Hoj2rAcFwBK8LqcrWvIigqOBcqJgY7ieBWXwhPBBaBmYKERhA6FBEW4SRFIqG4cgCRJCknTdDk+RFNhaHIFUNT1I03T0aRVFZAYvT9CQ4FDqIQA
Обсуждают сегодня