chore: prettier."

This commit is contained in:
BluJ
2023-03-31 09:38:36 -06:00
parent ce9c2a0db2
commit f3f3d8c10c
9 changed files with 292 additions and 80 deletions

View File

@@ -36,7 +36,12 @@ import { DefaultString } from "../config-types";
```
*/
export class Value<A extends ValueSpec> extends IBuilder<A> {
static boolean(a: { name: string; description?: string | null; warning?: string | null; default?: boolean | null }) {
static boolean(a: {
name: string;
description?: string | null;
warning?: string | null;
default?: boolean | null;
}) {
return new Value({
description: null,
warning: null,
@@ -162,7 +167,9 @@ export class Value<A extends ValueSpec> extends IBuilder<A> {
spec,
});
}
static union<V extends Variants<{ [key: string]: { name: string; spec: InputSpec } }>>(
static union<
V extends Variants<{ [key: string]: { name: string; spec: InputSpec } }>
>(
a: {
name: string;
description?: string | null;