From 580ef150778326262d04018460f672bda53d5696 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 8 Jan 2023 23:07:41 +0530 Subject: chore: adds prettier --- examples/custom-effect.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'examples/custom-effect.ts') diff --git a/examples/custom-effect.ts b/examples/custom-effect.ts index 5fbffed..3dbe395 100644 --- a/examples/custom-effect.ts +++ b/examples/custom-effect.ts @@ -1,15 +1,18 @@ import { Bind, DefineEffect, Effect, Kind1, Print } from '../stdlib' -interface Mathemagic<_A, _B> extends Effect { } +interface Mathemagic<_A, _B> extends Effect {} interface PrintK extends Kind1 { return: Print } export type main = [ - DefineEffect<"Mathemagic", `(a, b) => { - console.log(typeToString(a)) - return { result: 5 * b.getLiteralValue() } - }`>, - Bind, PrintK>, + DefineEffect< + 'Mathemagic', + `(a, b) => { + console.log(typeToString(a)) + return { result: 5 * b.getLiteralValue() } + }` + >, + Bind, PrintK> ] -- cgit v1.3.1