elm-duet/examples/jwt_schema.ts
2024-05-01 06:58:21 -05:00

20 lines
388 B
TypeScript

// Warning: this file is automatically generated. Don't edit by hand!
declare module Elm {
namespace Main {
type Flags = {
currentJwt: string | null;
};
type Ports = {
newJwt?: {
subscribe: (callback: (value: string) => void) => void;
};
};
function init(config: { flags: Flags; node: HTMLElement }): {
ports?: Ports;
};
}
}