mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-03-30 12:21:57 +00:00
chore: Fix the tests and add new types for raw
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { InputSpec } from "../config-types";
|
||||
import { InputSpec } from "../configTypes";
|
||||
import { BuilderExtract, IBuilder } from "./builder";
|
||||
import { Config } from ".";
|
||||
|
||||
@@ -80,10 +80,7 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user