function moduleDataForBuiltin(builtinObj, name) {
  return {
    id: name,
    file: name,
    package: name,
    type: 'builtin',
    /** @type {import('./scenario').ScenarioFile['moduleInitializer']} */
    moduleInitializer: (_, _2, module) => {
      module.exports = builtinObj[name]
    },
  }
}
@param {Record<string, any>} builtinObj
@param {string} name
@returns {any}
@todo Type the module data