Fix cursors

This commit is contained in:
Andras Schmelczer 2025-08-23 18:26:28 +01:00
parent 44f642f649
commit fc40d3eccf
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
12 changed files with 711 additions and 529 deletions

View file

@ -6,7 +6,7 @@ type ResolveFunction<T> = undefined extends T
* A type-safe utility function to create a Promise with resolve and reject functions.
* @returns A tuple containing a Promise, a resolve function, and a reject function.
*/
export function createPromise<T = unknown | undefined>(): [
export function createPromise<T = unknown>(): [
Promise<T>,
ResolveFunction<T>,
(error: unknown) => unknown