We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b004559 commit a8e3d23Copy full SHA for a8e3d23
frontend/packages/console-dynamic-plugin-sdk/src/app/core/reducers/coreSelectors.ts
@@ -1,10 +1,11 @@
1
import { Map as ImmutableMap } from 'immutable';
2
+import type { UserKind } from '@console/internal/module/k8s/types';
3
import { UserInfo } from '../../../extensions';
4
import { ImpersonateKind, SDKStoreState, AdmissionWebhookWarning } from '../../redux-types';
5
6
type GetImpersonate = (state: SDKStoreState) => ImpersonateKind;
7
type GetUser = (state: SDKStoreState) => UserInfo;
-type GetUserResource = (state: SDKStoreState) => any;
8
+type GetUserResource = (state: SDKStoreState) => UserKind;
9
type GetAdmissionWebhookWarnings = (
10
state: SDKStoreState,
11
) => ImmutableMap<string, AdmissionWebhookWarning>;
0 commit comments