Skip to main content
Go to Latest
variable getConfigAndMatcher
import { getConfigAndMatcher } from "https://deno.land/x/embassyd_sdk@v0.3.4-alpha1/compat/mod.ts";

Call with the configuration to get a standard getConfig for the expected exports Assumption: start9/config.yaml is where the config will be stored Throws: Error if there is no file Throws: Error if the config.yaml isn't yaml nor config shape

type

<Spec extends ConfigSpec>(spec: Spec) => [ExpectedExports.getConfig, matches.Parser<unknown, TypeFromProps<Spec>>]