@wopjs/cast
Advanced tools
+1
-1
@@ -130,4 +130,4 @@ /** Returns `U` if `T` is `never` or `any`, otherwise returns `T`. */ | ||
| interface Coalesce { | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| <T>(arr: readonly T[]): readonly Truthy<T>[]; | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| } | ||
@@ -134,0 +134,0 @@ /** |
+1
-1
@@ -130,4 +130,4 @@ /** Returns `U` if `T` is `never` or `any`, otherwise returns `T`. */ | ||
| interface Coalesce { | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| <T>(arr: readonly T[]): readonly Truthy<T>[]; | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| } | ||
@@ -134,0 +134,0 @@ /** |
+1
-1
| { | ||
| "name": "@wopjs/cast", | ||
| "version": "0.1.12", | ||
| "version": "0.1.13", | ||
| "description": "Type-safe utilities for filtering and coercing unknown values in TypeScript.", | ||
@@ -5,0 +5,0 @@ "repository": "wopjs/cast", |
+1
-1
@@ -122,4 +122,4 @@ import type { Defined, Truthy } from "./is-to-as"; | ||
| export interface Coalesce { | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| <T>(arr: readonly T[]): readonly Truthy<T>[]; | ||
| <T>(arr: T[]): Truthy<T>[]; | ||
| } | ||
@@ -126,0 +126,0 @@ |