From 6a99b4330927433da593bc321894f26702f4f75e Mon Sep 17 00:00:00 2001 From: Jeremy Scheff Date: Sun, 25 Aug 2024 10:01:53 -0400 Subject: [PATCH] Update index.d.ts T can be any primitive too, not just an object. --- packages/collection-clone/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/collection-clone/index.d.ts b/packages/collection-clone/index.d.ts index 2a5301dcc..46a4eb3cf 100644 --- a/packages/collection-clone/index.d.ts +++ b/packages/collection-clone/index.d.ts @@ -1,3 +1,3 @@ // Definitions by: Chris Howard -declare function clone(obj: T): T; +declare function clone(obj: T): T; export default clone;