From dce783bb90c46a1014d59b1f32e6e05d3fc6eef7 Mon Sep 17 00:00:00 2001 From: Alisue Date: Fri, 9 Aug 2024 11:24:55 +0900 Subject: [PATCH] chore: asdf --- as/mod.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/as/mod.ts b/as/mod.ts index 0a3ec82..ea53926 100644 --- a/as/mod.ts +++ b/as/mod.ts @@ -1,18 +1,16 @@ import { asOptional, asUnoptional } from "./optional.ts"; import { asReadonly, asUnreadonly } from "./readonly.ts"; -export type AsCollection = { +/** + * Annotation collection for object predicate properties. + */ +export const as: { /** Annotation test1 */ Optional: typeof asOptional; Readonly: typeof asReadonly; Unoptional: typeof asUnoptional; Unreadonly: typeof asUnreadonly; -}; - -/** - * Annotation collection for object predicate properties. - */ -export const as: AsCollection = { +} = { Optional: asOptional, /** Annotation test2 */ Readonly: asReadonly,