Skip to main content
Go to Latest
function typeFromProps
import { typeFromProps } from "https://deno.land/x/embassyd_sdk@v0.3.3.4.0-alpha3/util.ts";

ConfigSpec: Tells the UI how to ask for information, verification, and will send the service a config in a shape via the spec. ValueSpecAny: This is any of the values in a config spec.

Use this when we want to convert a config spec into a parser for what a config will look like

Type Parameters

A extends ConfigSpec

Parameters

valueDictionary: A

Returns

matches.Parser<unknown, TypeFromProps<A>>