mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce some naming conventions (#4813)
This commit is contained in:
1 parent
dc6615f98f
commit
0b32775d40
197 files changed
+630
-634
No files matched your search
@@ -7,11 +7,11 @@ import { observable, reaction } from "mobx";
|
||||
import { StorageHelper } from "../storageHelper";
|
||||
import { delay } from "../../../common/utils/delay";
|
||||
|
||||
type StorageModel = {
|
||||
interface StorageModel {
|
||||
[prop: string]: any /*json-serializable*/;
|
||||
message?: string;
|
||||
description?: any;
|
||||
};
|
||||
}
|
||||
|
||||
describe("renderer/utils/StorageHelper", () => {
|
||||
describe("Using custom StorageAdapter", () => {
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
// Helper for combining css classes inside components
|
||||
|
||||
export type IClassName = string | string[] | IClassNameMap;
|
||||
export type IClassNameMap = {
|
||||
[className: string]: boolean | any;
|
||||
};
|
||||
export type IClassNameMap = Record<string, any>;
|
||||
|
||||
export function cssNames(...args: IClassName[]): string {
|
||||
const map: IClassNameMap = {};
|
||||
|
||||
Reference in new issue
Block a user