mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Improve Table typing and remove annotations on callbacks
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
22c9d03edb
commit
defb0ea0dd
55 files changed
+498
-490
No files matched your search
@@ -23,10 +23,10 @@ import type { KubeApi } from "../../api/kube-api";
|
||||
import { KubeObjectStore } from "../../kube-object.store";
|
||||
import type { KubeObject } from "../../api/kube-object";
|
||||
|
||||
export class CRDResourceStore<T extends KubeObject = any> extends KubeObjectStore<T> {
|
||||
api: KubeApi;
|
||||
export class CRDResourceStore<K extends KubeObject> extends KubeObjectStore<K> {
|
||||
api: KubeApi<K>;
|
||||
|
||||
constructor(api: KubeApi<T>) {
|
||||
constructor(api: KubeApi<K>) {
|
||||
super();
|
||||
this.api = api;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user