From 184a1ebd8d78ee0bd580578414499c6de5a16455 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sat, 13 Jan 2018 15:16:23 +0100 Subject: [PATCH] Bump `tslint-xo` --- package.json | 4 ++-- source/lib/predicates/predicate.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 1c3f135..244c49d 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "license-webpack-plugin": "^1.1.1", "lodash.isequal": "^4.5.0", "nyc": "^11.2.1", - "tslint": "^5.8.0", - "tslint-xo": "^0.4.0", + "tslint": "^5.9.1", + "tslint-xo": "^0.5.0", "typedoc": "^0.9.0", "typescript": "^2.6.2", "vali-date": "^1.0.0", diff --git a/source/lib/predicates/predicate.ts b/source/lib/predicates/predicate.ts index d748a6d..666a9fe 100644 --- a/source/lib/predicates/predicate.ts +++ b/source/lib/predicates/predicate.ts @@ -27,7 +27,7 @@ export const validatorSymbol = Symbol('validators'); export class Predicate { constructor( type: string, - private context: Context = { + private readonly context: Context = { validators: [] } ) {