Using fetch Headers() function

I’m trying to use the Headers() interface of the Fetch API but I’m getting this error in OXIDE:

How can I solve that?

Just include this at the top of your CloudCode task:

import { Headers } from 'node-fetch'