Skip to content

Commit

Permalink
Merge pull request #533 from DrSammyD/master
Browse files Browse the repository at this point in the history
quickfix for aurelia-dependency-injection 1.5.0
  • Loading branch information
EisenbergEffect authored Aug 8, 2019
2 parents ecc1dc2 + 09603f0 commit 86ed521
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions dist/aurelia-validation.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { AccessKeyed, AccessMember, AccessScope, Binary, Binding, BindingBehavior, CallMember, Conditional, Expression, Parser, Scope, ValueConverter } from 'aurelia-binding';
import { Container, Lazy } from 'aurelia-dependency-injection';
import { DOM } from 'aurelia-pal';
import { TaskQueue } from 'aurelia-task-queue';
import { BindingLanguage, ViewResources } from 'aurelia-templating';

Expand Down Expand Up @@ -430,10 +431,7 @@ export interface RenderedError {
export declare class ValidationErrorsCustomAttribute implements ValidationRenderer {
private boundaryElement;
private controllerAccessor;
static inject(): ({
new (): Element;
prototype: Element;
} | Lazy)[];
static inject(): [typeof DOM.Element, Lazy<ValidationController>];
controller: ValidationController | null;
errors: RenderedError[];
private errorsInternal;
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"peerDependencies": {
"aurelia-binding": "^2.1.5",
"aurelia-dependency-injection": "^1.4.1",
"aurelia-dependency-injection": "^1.5.0",
"aurelia-logging": "^1.5.0",
"aurelia-pal": "^1.8.0",
"aurelia-task-queue": "^1.3.1",
Expand All @@ -74,7 +74,7 @@
},
"dependencies": {
"aurelia-binding": "^2.1.5",
"aurelia-dependency-injection": "^1.4.1",
"aurelia-dependency-injection": "^1.5.0",
"aurelia-logging": "^1.5.0",
"aurelia-pal": "^1.8.0",
"aurelia-task-queue": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion src/validation-errors-custom-attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface RenderedError {
@customAttribute('validation-errors')
export class ValidationErrorsCustomAttribute implements ValidationRenderer {

public static inject() {
public static inject(): [typeof DOM.Element, Lazy<ValidationController>] {
return [DOM.Element, Lazy.of(ValidationController)];
}

Expand Down

0 comments on commit 86ed521

Please sign in to comment.