Create a promise, but avoid using constructors.
$ npm install crpr
$ yarn add crpr
$ pnpm add crpr
import { crpr } from "crpr";
const { promise, resolve, reject } = crpr<string>();
// or const [promise, resolve, reject] = crpr<string>();
resolve("114514");
promise.then(console.log); // 114514