import { deepClone } from "https://deno.land/x/simple_utility@v2.0.2/mod.pure.ts";
structuredClone()
with argument type added.
Examples
Example 1
Example 1
const clone = deepClone({
aaa: {
bbb: true
}
});
Parameters
data: T
optional
transfers: (Transferable | ArrayBufferView)[]