Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nsbarsukov committed Aug 8, 2022
1 parent 94e3a93 commit 1918350
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Component} from '@angular/core';
import {changeDetection} from '@demo/emulate/change-detection';
import {TuiDocExample} from '@taiga-ui/addon-doc';
import {TuiDecimalSymbol} from '@taiga-ui/core';

@Component({
selector: `example-tui-format-number`,
Expand All @@ -22,6 +23,6 @@ export class ExampleTuiFormatNumberComponent {
readonly decimalLimitVariants = [0, 2, 4];
decimalLimit: number | null = null;

readonly decimalSeparatorVariants: readonly string[] = [`,`, `.`, `/`];
decimalSeparator = this.decimalSeparatorVariants[0];
readonly decimalSeparatorVariants: TuiDecimalSymbol[] = [`,`, `.`];
decimalSeparator: TuiDecimalSymbol = this.decimalSeparatorVariants[0];
}
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<ng-template
i18n
documentationPropertyName="decimalSeparator"
documentationPropertyType="string"
documentationPropertyType="TuiDecimalSymbol"
[documentationPropertyValues]="decimalSeparatorVariants"
[(documentationPropertyValue)]="decimalSeparator"
>
Expand Down

0 comments on commit 1918350

Please sign in to comment.