Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-6493

Types for react-redux

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • UI
    • None
    • ODC Sprint 222, ODC Sprint 223, ODC Sprint 224
    • 5

      Description

      The console has multiple occurrences of importing useSelector from `react-redux` but has eslint/ts disable for it.

       
      // eslint-disable-next-line @typescript-eslint/ban-ts-ignore
      // @ts-ignore: FIXME missing exports due to out-of-sync @types/react-redux version
      import { useSelector } from 'react-redux';

      we should look for fixing this and adding associated typings.

              Unassigned Unassigned
              jakumar jaivardhan Kumar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: