@@ -30,7 +30,7 @@ export class BoolSchema extends Schema<boolean> {
3030 }
3131}
3232
33- export const bool = new BoolSchema ( ) ;
33+ export const bool : BoolSchema = new BoolSchema ( ) ;
3434
3535////
3636// STRING
@@ -67,7 +67,7 @@ export class StringSchema extends Schema<string> {
6767 }
6868}
6969
70- export const string = new StringSchema ( ) ;
70+ export const string : StringSchema = new StringSchema ( ) ;
7171
7272////
7373// i8
@@ -97,7 +97,7 @@ export class Int8Schema extends Schema<number> {
9797 }
9898}
9999
100- export const i8 = new Int8Schema ( ) ;
100+ export const i8 : Int8Schema = new Int8Schema ( ) ;
101101
102102////
103103// u8
@@ -127,12 +127,12 @@ export class Uint8Schema extends Schema<number> {
127127 }
128128}
129129
130- export const u8 = new Uint8Schema ( ) ;
130+ export const u8 : Uint8Schema = new Uint8Schema ( ) ;
131131
132132/**
133133 * Alias for `bin.u8`
134134 */
135- export const byte = u8 ;
135+ export const byte : Uint8Schema = u8 ;
136136
137137////
138138// i16
@@ -162,7 +162,7 @@ export class Int16Schema extends Schema<number> {
162162 }
163163}
164164
165- export const i16 = new Int16Schema ( ) ;
165+ export const i16 : Int16Schema = new Int16Schema ( ) ;
166166
167167////
168168// u16
@@ -192,7 +192,7 @@ export class Uint16Schema extends Schema<number> {
192192 }
193193}
194194
195- export const u16 = new Uint16Schema ( ) ;
195+ export const u16 : Uint16Schema = new Uint16Schema ( ) ;
196196
197197////
198198// i32
@@ -222,7 +222,7 @@ export class Int32Schema extends Schema<number> {
222222 }
223223}
224224
225- export const i32 = new Int32Schema ( ) ;
225+ export const i32 : Int32Schema = new Int32Schema ( ) ;
226226
227227////
228228// u32
@@ -252,7 +252,7 @@ export class Uint32Schema extends Schema<number> {
252252 }
253253}
254254
255- export const u32 = new Uint32Schema ( ) ;
255+ export const u32 : Uint32Schema = new Uint32Schema ( ) ;
256256
257257////
258258// f16
@@ -282,7 +282,7 @@ export class Float16Schema extends Schema<number> {
282282 }
283283}
284284
285- export const f16 = new Float16Schema ( ) ;
285+ export const f16 : Float16Schema = new Float16Schema ( ) ;
286286
287287////
288288// f32
@@ -312,4 +312,4 @@ export class Float32Schema extends Schema<number> {
312312 }
313313}
314314
315- export const f32 = new Float32Schema ( ) ;
315+ export const f32 : Float32Schema = new Float32Schema ( ) ;
0 commit comments