TS80005
'require' call may be converted to an import.
Broken Code ❌
const pkg = require('../package.json');Fixed Code ✔️
import pkg from '../package.json';'require' call may be converted to an import.
const pkg = require('../package.json');import pkg from '../package.json';