We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8008c47 commit dce783bCopy full SHA for dce783b
as/mod.ts
@@ -1,18 +1,16 @@
1
import { asOptional, asUnoptional } from "./optional.ts";
2
import { asReadonly, asUnreadonly } from "./readonly.ts";
3
4
-export type AsCollection = {
+/**
5
+ * Annotation collection for object predicate properties.
6
+ */
7
+export const as: {
8
/** Annotation test1 */
9
Optional: typeof asOptional;
10
Readonly: typeof asReadonly;
11
Unoptional: typeof asUnoptional;
12
Unreadonly: typeof asUnreadonly;
-};
-
-/**
13
- * Annotation collection for object predicate properties.
14
- */
15
-export const as: AsCollection = {
+} = {
16
Optional: asOptional,
17
/** Annotation test2 */
18
Readonly: asReadonly,
0 commit comments