@tldraw/utils
Advanced tools
Comparing version 2.0.0-canary.dd436e7df to 2.0.0-canary.e312ea047
@@ -50,3 +50,3 @@ /* Excluded from this release type: annotateError */ | ||
declare type ErrorAnnotations = { | ||
tags: Record<string, number | string | boolean | bigint | symbol | null | undefined>; | ||
tags: Record<string, bigint | boolean | null | number | string | symbol | undefined>; | ||
extras: Record<string, unknown>; | ||
@@ -83,3 +83,3 @@ }; | ||
*/ | ||
export declare function getFirstFromIterable<T = unknown>(set: Set<T> | Map<any, T>): T; | ||
export declare function getFirstFromIterable<T = unknown>(set: Map<any, T> | Set<T>): T; | ||
@@ -184,3 +184,3 @@ /** | ||
/** @public */ | ||
export declare type Result<T, E> = OkResult<T> | ErrorResult<E>; | ||
export declare type Result<T, E> = ErrorResult<E> | OkResult<T>; | ||
@@ -187,0 +187,0 @@ /** @public */ |
{ | ||
"name": "@tldraw/utils", | ||
"description": "A tiny little drawing app (private utilities).", | ||
"version": "2.0.0-canary.dd436e7df", | ||
"version": "2.0.0-canary.e312ea047", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "tldraw GB Ltd.", |
Sorry, the diff of this file is not supported yet