Prettier 2.0 (#393)

This commit is contained in:
Steve Faulkner
2021-01-20 09:15:01 -06:00
committed by GitHub
parent c1937ca464
commit 4be53284b5
500 changed files with 41927 additions and 41838 deletions
+5 -5
View File
@@ -7,7 +7,7 @@ import {
NumberInput,
StringInput,
Node,
AnyInput
AnyInput,
} from "./SelfServeComponent";
export enum SelfServeType {
@@ -16,7 +16,7 @@ export enum SelfServeType {
// Unsupported self serve type passed as feature flag
invalid = "invalid",
// Add your self serve types here
example = "example"
example = "example",
}
export abstract class SelfServeBaseClass {
@@ -126,8 +126,8 @@ export const mapToSmartUiDescriptor = (context: Map<string, CommonInputTypes>):
root: {
id: "root",
info: root?.info,
children: []
}
children: [],
},
};
while (context.size > 0) {
@@ -151,7 +151,7 @@ const addToDescriptor = (
id: value.id,
info: value.info,
input: getInput(value),
children: []
children: [],
} as Node;
context.delete(key);
root.children.push(element);