mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- This new abstraction allows us to hook into the transitions between values without having to resort to reactions. Allowing us to be explicit in when we want code to execute and also be defensive against new code paths Signed-off-by: Sebastian Malton <sebastian@malton.name>
11 lines
267 B
TypeScript
11 lines
267 B
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;
|
|
}
|