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 248bdc4 commit 8008c47Copy full SHA for 8008c47
as/mod.ts
@@ -1,11 +1,20 @@
1
import { asOptional, asUnoptional } from "./optional.ts";
2
import { asReadonly, asUnreadonly } from "./readonly.ts";
3
4
+export type AsCollection = {
5
+ /** Annotation test1 */
6
+ Optional: typeof asOptional;
7
+ Readonly: typeof asReadonly;
8
+ Unoptional: typeof asUnoptional;
9
+ Unreadonly: typeof asUnreadonly;
10
+};
11
+
12
/**
13
* Annotation collection for object predicate properties.
14
*/
-export const as = {
15
+export const as: AsCollection = {
16
Optional: asOptional,
17
+ /** Annotation test2 */
18
Readonly: asReadonly,
19
Unoptional: asUnoptional,
20
Unreadonly: asUnreadonly,
0 commit comments