Sfoglia il codice sorgente

@joystream/types formatting

Leszek Wiesner 3 anni fa
parent
commit
e08e89c7b5
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      types/src/common.ts

+ 2 - 1
types/src/common.ts

@@ -98,7 +98,8 @@ export type InputValidationLengthConstraintType = {
   max_min_diff: u16
 }
 
-export class InputValidationLengthConstraint extends JoyStructDecorated({ min: u16, max_min_diff: u16 })
+export class InputValidationLengthConstraint
+  extends JoyStructDecorated({ min: u16, max_min_diff: u16 })
   implements InputValidationLengthConstraintType {
   get max(): u16 {
     return this.registry.createType('u16', this.min.add(this.max_min_diff))