I’m running node.js v17.2.0 and TypeScript v4.5.4. I’m trying to use structuredClone() on a Map, and it doesn’t seem to be working. ES2021 is targeted in tsconfig.json, and included in lib
. Is this function just plain not available in TypeScript? Is there something else I need to include to get it?
@types/node is also installed, and I’ve made sure that it works in node.js environment.