Skip to content

Commit

Permalink
Add flow definition for structuredClone
Browse files Browse the repository at this point in the history
  • Loading branch information
larsjohnsen committed Jul 2, 2024
1 parent 972bd8a commit 1b99cb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flow/lib/core.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,5 @@ declare class Object {
valueOf(): Object;
[any]: any;
}

declare function structuredClone<T>(value: T): T;

0 comments on commit 1b99cb8

Please sign in to comment.