hunk.code_window:   props &&
     (is.fun(props) ? props(i, arg) : is.arr(props) ? props[i] : { ...props })
   /** Returns `true` if the given prop is having its default value set. */
   export const isDefaultProp = <T extends Lookup>(props: T, key: keyof T) =>
     !is.und(
       props.default === true ? props[key] : props.default && props.default[key]
     )
   export const mergeDefaultProps = (
     defaultProps: Lookup,
  
hunk.labels: keep keep keep keep replace replace replace replace keep keep keep
hunk.after_edit: export const hasDefaultProp = <T extends Lookup>(props: T, key: keyof T) =>
     !is.und(getDefaultProp(props, key))
   /** Get the default value being set for the given `key` */
   export const getDefaultProp = <T extends Lookup>(props: T, key: keyof T) =>
     props.default === true
       ? props[key]
       : props.default
       ? props.default[key]
       : undefined
  
hunk.file_path: packages/core/src/helpers.ts
hunk.type: replace
file: {
    "compilerOptions": {
      "baseUrl": ".",
      "esModuleInterop": true,
      "forceConsistentCasingInFileNames": true,
      "jsx": "react",
      "lib": ["dom", "es2017"],
      "moduleResolution": "node",
      "noEmitOnError": true,
      "noFallthroughCasesInSwitch": true,
      "noUnusedLocals": true,
      "noUnusedParameters": true,
      "paths": {
        "shared": ["./node_modules/shared/src"],
        "shared/*": ["./node_modules/shared/src/*"]
      },
      "preserveSymlinks": true,
      "sourceMap": true,
      "strict": true,
      "target": "esnext",
      "typeRoots": ["../../node_modules/@types", "../../@types"]
    }
  }
  