website/index.ts
2023-10-24 05:23:25 +07:00

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;