Skip to content

Commit

Permalink
feat(accordion): use readonly arrays for inputs (#3426)
Browse files Browse the repository at this point in the history
  • Loading branch information
reduckted authored and maxokorokov committed Dec 6, 2019
1 parent 3dd96da commit 16249f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/accordion/accordion.ts
Expand Up @@ -178,7 +178,7 @@ export class NgbAccordion implements AfterContentChecked {
* For subsequent changes use methods like `expand()`, `collapse()`, etc. and
* the `(panelChange)` event.
*/
@Input() activeIds: string | string[] = [];
@Input() activeIds: string | readonly string[] = [];

/**
* If `true`, only one panel could be opened at a time.
Expand Down

0 comments on commit 16249f4

Please sign in to comment.