Completed the test with the latest official TypeScript playground: https://www.typescriptlang.org/play Then exported to CodeSandBox for quick view: https://codesandbox.io/s/staging-frost-0e4iv This project was bootstrapped with Create React App.