mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
60 lines
1.6 KiB
TypeScript
60 lines
1.6 KiB
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
/**
|
|
* A function that does nothing
|
|
*/
|
|
export function noop<T extends any[]>(...args: T): void {
|
|
return void args;
|
|
}
|
|
|
|
export type Defaulted<Params, DefaultParams extends keyof Params> = Required<Pick<Params, DefaultParams>> & Omit<Params, DefaultParams>;
|
|
|
|
export * from "./abort-controller";
|
|
export * from "./app-version";
|
|
export * from "./autobind";
|
|
export * from "./camelCase";
|
|
export * from "./cloneJson";
|
|
export * from "./cluster-id-url-parsing";
|
|
export * from "./collection-functions";
|
|
export * from "./convertCpu";
|
|
export * from "./convertMemory";
|
|
export * from "./debouncePromise";
|
|
export * from "./defineGlobal";
|
|
export * from "./delay";
|
|
export * from "./disposer";
|
|
export * from "./downloadFile";
|
|
export * from "./escapeRegExp";
|
|
export * from "./formatDuration";
|
|
export * from "./getRandId";
|
|
export * from "./hash-set";
|
|
export * from "./n-fircate";
|
|
export * from "./objects";
|
|
export * from "./openBrowser";
|
|
export * from "./paths";
|
|
export * from "./promise-exec";
|
|
export * from "./reject-promise";
|
|
export * from "./singleton";
|
|
export * from "./sort-compare";
|
|
export * from "./splitArray";
|
|
export * from "./tar";
|
|
export * from "./toJS";
|
|
export * from "./type-narrowing";
|
|
export * from "./wait-for-path";
|
|
|
|
export type { Tuple } from "./tuple";
|
|
|
|
import * as iter from "./iter";
|
|
import * as array from "./array";
|
|
import * as tuple from "./tuple";
|
|
import * as base64 from "./base64";
|
|
|
|
export {
|
|
iter,
|
|
array,
|
|
tuple,
|
|
base64,
|
|
};
|