From b14fff96a48effbf98260f4f2541c6696f0c342d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Fri, 22 Mar 2024 14:04:23 +0100 Subject: [PATCH] Module fix --- src/schema/effect/index.ts | 7 +------ src/schema/lib.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/schema/effect/index.ts b/src/schema/effect/index.ts index bc47e44..720a9ef 100644 --- a/src/schema/effect/index.ts +++ b/src/schema/effect/index.ts @@ -1,6 +1 @@ -import { option as optionModule } from "./option" - - -export module effect { - export const option = optionModule -} +export { option } from "./option" diff --git a/src/schema/lib.ts b/src/schema/lib.ts index 868d177..1323289 100644 --- a/src/schema/lib.ts +++ b/src/schema/lib.ts @@ -1,5 +1,5 @@ import { decimal } from "./decimal" -import { effect } from "./effect" +import * as effect from "./effect" import { dejsonify, jsonify } from "./jsonified"