diff --git a/wnumb/wnumb.d.ts b/wnumb/wnumb.d.ts index d3645768c8..4aad29b3a8 100644 --- a/wnumb/wnumb.d.ts +++ b/wnumb/wnumb.d.ts @@ -10,7 +10,7 @@ interface wNumbOptions { */ decimals?: number; /** - * The decimal separator. + * The decimal separator. * Defaults to '.' if thousand isn't already set to '.'. */ mark?: string; @@ -35,7 +35,7 @@ interface wNumbOptions { */ negativeBefore?: string; /**This is a powerful option to manually modify the slider output. - * + * *For example, to show a number in another currency: * function( value ){ * return value * 1.32; @@ -43,7 +43,7 @@ interface wNumbOptions { */ encoder?: (value: number) => number; /** - * Reverse the operations set in encoder. + * Reverse the operations set in encoder. * Use this option to undo modifications made while encoding the value. * function( value ){ * return value / 1.32; @@ -59,22 +59,22 @@ interface wNumbOptions { * Applied before all other formatting options are applied. */ undo?: (value: number) => number; -} +} interface wNumb { /** - * Create a wNumb - * + * Create a wNumb + * * @param options - the options */ (options?: wNumbOptions): wNumbInstance; } interface wNumbInstance { - - - + + + /** * format to string */ @@ -83,4 +83,4 @@ interface wNumbInstance { * get number from formatted string */ from(val: string): number; -} \ No newline at end of file +}