chore: Introduce utility function to prepend strings

Co-authored-by: Janne Savolainen <janne.savolainen@live.fi>
Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
Iku-tursoandJanne Savolainen authored and Sebastian Malton committed 2023-05-09 09:55:42 -04:00
1 parent b9a2e5bbd1
commit a864c92284
1 file changed
+6
@@ -0,0 +1,6 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
export const prepend = (prependWith: string) => (what: string) =>
`${prependWith}${what}`;