Skip to content

Commit

Permalink
Updated redundant extended interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei15193 committed Nov 22, 2024
1 parent 13a1b06 commit c47d8a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/forms/IFormCollection.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import type { IObservableCollection } from '../collections';
import type { IValidatable } from '../validation';
import type { Form } from './Form';
import type { IConfigurableFormCollection } from './IConfigurableFormCollection';
import type { IReadOnlyFormCollection } from './IReadOnlyFormCollection';

/**
Expand All @@ -11,7 +9,7 @@ import type { IReadOnlyFormCollection } from './IReadOnlyFormCollection';
* @template TForm The concrete type of the form section.
* @template TValidationError The concrete type for representing validation errors (strings, enums, numbers etc.).
*/
export interface IFormCollection<TForm extends Form<TValidationError>, TValidationError = string> extends IValidatable<TValidationError>, IObservableCollection<TForm>, IConfigurableFormCollection<TForm, TValidationError>, IReadOnlyFormCollection<TForm, TValidationError> {
export interface IFormCollection<TForm extends Form<TValidationError>, TValidationError = string> extends IObservableCollection<TForm>, IReadOnlyFormCollection<TForm, TValidationError> {
/**
* Gets or sets the number of items in the collection.
* @see [Array.length](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array/length)
Expand Down

0 comments on commit c47d8a5

Please sign in to comment.