Skip to content

Commit 69d3eff

Browse files
bulldetektorjdanyow
authored andcommitted
fix(DI): static inject method instead of property
1 parent 65f5212 commit 69d3eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validation-errors-custom-attribute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface RenderedError {
1313

1414
@customAttribute('validation-errors')
1515
export class ValidationErrorsCustomAttribute implements ValidationRenderer {
16-
public static inject = [DOM.Element, Lazy.of(ValidationController)];
16+
public static inject() { return [DOM.Element, Lazy.of(ValidationController)]; }
1717

1818
@bindable({ defaultBindingMode: bindingMode.oneWay })
1919
public controller: ValidationController | null = null;

0 commit comments

Comments
 (0)