Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-3668

Post TypeScript upgrade: TS typing related fixes

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • None
    • None

      Due to TypeScript bump we should be taking care of typing fixes

       

      AC:

      • avoid using types which are not recommended as per @typescript-eslint/ban-types docs: {}, Functionobject
      • use better react-redux types to avoid @ts-ignore suppressions when importing APIs from that package
        • useSelector and useDispatch code locations as part of typescript bump
      • fix typecast to any for kmsProvider in packages/ceph-storage-plugin/src/components/kms-config/kms-config.tsx (may indicate a bug in our type definitions) 
        • ceph storage plugin may become a dynamic plugin and thus not be needed. this decision is pending.

       

      Note: Broken down from https://issues.redhat.com/browse/CONSOLE-3644

              pakratoc@redhat.com Pavel Kratochvil (Inactive)
              jhadvig@redhat.com Jakub Hadvig
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: