chore: Add changes

This commit is contained in:
BluJ
2023-04-05 14:48:51 -06:00
parent 45192e0358
commit 5414b301f3
15 changed files with 326 additions and 97 deletions

View File

@@ -80,7 +80,10 @@ export class Variants<
static empty() {
return Variants.of({});
}
static withVariant<K extends string, B extends InputSpec>(key: K, value: Config<B>) {
static withVariant<K extends string, B extends InputSpec>(
key: K,
value: Config<B>
) {
return Variants.empty().withVariant(key, value);
}