Expected Behavior: Able to use promises in TypeScript.
Observed Behavior: Using promises gives the following type error, 'new' expression, whose target lacks a construct signature, implicitly has an 'any' type.ts(7009)
How to duplicate the problem: 1) Within a create react app using TypeScript try creating a promise.
const test = new Promise<string>((res, _rej) => {
res("hi");
});