diff --git a/src/struct.ts b/src/struct.ts index f272420..c4bf646 100644 --- a/src/struct.ts +++ b/src/struct.ts @@ -258,7 +258,7 @@ function _member(type: T) { /** * Shortcut types - * + * * Instead of writing `@member(type)` you can write `@types.type`, or `@types.type(length)` for arrays */ export const types = Object.fromEntries(validPrimitiveTypes.map(t => [t, _member(t)])) as { [K in ValidPrimitiveType]: ReturnType> };