Skip to content

Commit 86ed521

Browse files
Merge pull request #533 from DrSammyD/master
quickfix for aurelia-dependency-injection 1.5.0
2 parents ecc1dc2 + 09603f0 commit 86ed521

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

dist/aurelia-validation.d.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { AccessKeyed, AccessMember, AccessScope, Binary, Binding, BindingBehavior, CallMember, Conditional, Expression, Parser, Scope, ValueConverter } from 'aurelia-binding';
22
import { Container, Lazy } from 'aurelia-dependency-injection';
3+
import { DOM } from 'aurelia-pal';
34
import { TaskQueue } from 'aurelia-task-queue';
45
import { BindingLanguage, ViewResources } from 'aurelia-templating';
56

@@ -430,10 +431,7 @@ export interface RenderedError {
430431
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
431432
private boundaryElement;
432433
private controllerAccessor;
433-
static inject(): ({
434-
new (): Element;
435-
prototype: Element;
436-
} | Lazy)[];
434+
static inject(): [typeof DOM.Element, Lazy<ValidationController>];
437435
controller: ValidationController | null;
438436
errors: RenderedError[];
439437
private errorsInternal;

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
},
5757
"peerDependencies": {
5858
"aurelia-binding": "^2.1.5",
59-
"aurelia-dependency-injection": "^1.4.1",
59+
"aurelia-dependency-injection": "^1.5.0",
6060
"aurelia-logging": "^1.5.0",
6161
"aurelia-pal": "^1.8.0",
6262
"aurelia-task-queue": "^1.3.1",
@@ -74,7 +74,7 @@
7474
},
7575
"dependencies": {
7676
"aurelia-binding": "^2.1.5",
77-
"aurelia-dependency-injection": "^1.4.1",
77+
"aurelia-dependency-injection": "^1.5.0",
7878
"aurelia-logging": "^1.5.0",
7979
"aurelia-pal": "^1.8.0",
8080
"aurelia-task-queue": "^1.3.1",

src/validation-errors-custom-attribute.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface RenderedError {
1414
@customAttribute('validation-errors')
1515
export class ValidationErrorsCustomAttribute implements ValidationRenderer {
1616

17-
public static inject() {
17+
public static inject(): [typeof DOM.Element, Lazy<ValidationController>] {
1818
return [DOM.Element, Lazy.of(ValidationController)];
1919
}
2020

0 commit comments

Comments
 (0)