Quellcode durchsuchen

@joystream/types formatting

Leszek Wiesner vor 3 Jahren
Ursprung
Commit
e08e89c7b5
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  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))