Skip to main content
Go to Latest
function util.typeFromProps
import { util } from "https://deno.land/x/embassyd_sdk@v0.3.4-alpha1/mod.ts";
const { typeFromProps } = util;

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>>