elm-pages-v3-beta/examples/escaping/port-data-source.ts

14 lines
240 B
TypeScript

import kleur from "kleur";
kleur.enabled = true;
export async function log(message: string) {
console.log(message);
return null;
}
export async function logReturn(message: string) {
console.log(message);
return message.length;
}