Skip to content

Commit dce783b

Browse files
committed
chore: asdf
1 parent 8008c47 commit dce783b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

as/mod.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
import { asOptional, asUnoptional } from "./optional.ts";
22
import { asReadonly, asUnreadonly } from "./readonly.ts";
33

4-
export type AsCollection = {
4+
/**
5+
* Annotation collection for object predicate properties.
6+
*/
7+
export const as: {
58
/** Annotation test1 */
69
Optional: typeof asOptional;
710
Readonly: typeof asReadonly;
811
Unoptional: typeof asUnoptional;
912
Unreadonly: typeof asUnreadonly;
10-
};
11-
12-
/**
13-
* Annotation collection for object predicate properties.
14-
*/
15-
export const as: AsCollection = {
13+
} = {
1614
Optional: asOptional,
1715
/** Annotation test2 */
1816
Readonly: asReadonly,

0 commit comments

Comments
 (0)