Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
variable getConfigAndMatcher
import { getConfigAndMatcher } from "https://deno.land/x/embassyd_sdk@v0.3.3.0.6/compat/getConfig.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>>]