16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
|
type ElmPagesInit = {
|
||
|
load: (elmLoaded: Promise<unknown>) => Promise<void>;
|
||
|
flags: unknown;
|
||
|
};
|
||
|
|
||
|
const config: ElmPagesInit = {
|
||
|
load: async function (elmLoaded) {
|
||
|
await elmLoaded;
|
||
|
},
|
||
|
flags: function () {
|
||
|
return "You can decode this in Shared.elm using Json.Decode.string!";
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default config;
|