mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-11-20 13:04:39 +03:00
20 lines
388 B
TypeScript
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;
|
|
};
|
|
}
|
|
}
|