w11k / Tydux

Type safe state management for web applications
Apache License 2.0
36 stars 4 forks source link

Facade Generic in different order than super constructor call #24

Closed sengmann closed 4 years ago

sengmann commented 5 years ago

For example:

export class LoadingService extends Facade<LoadingState, LoadingCommands> {

  constructor(tydux: TyduxStore) {
    super(tydux, 'loading',` new LoadingCommands(), new LoadingState()`);
  }
}
sengmann commented 5 years ago

Fixing this issue is only possible by breaking changes. In context of angular we could provide an update schematic. For non Angular users codemod or ts-codemod could be an alternative.

romanroe commented 4 years ago

Obsolete since 14.0.0