From 34251229725dc12d4e32c832b9ef1d2e285528ab Mon Sep 17 00:00:00 2001 From: Anton Dosov Date: Fri, 10 Jan 2020 14:00:16 +0300 Subject: [PATCH] add @types for deep-freeze-strict --- package.json | 1 + .../public/state_containers/create_state_container.ts | 1 - yarn.lock | 5 +++++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index bfe008f1b3f7..6ec1f1c1115d 100644 --- a/package.json +++ b/package.json @@ -314,6 +314,7 @@ "@types/classnames": "^2.2.9", "@types/d3": "^3.5.43", "@types/dedent": "^0.7.0", + "@types/deep-freeze-strict": "^1.1.0", "@types/delete-empty": "^2.0.0", "@types/elasticsearch": "^5.0.33", "@types/enzyme": "^3.9.0", diff --git a/src/plugins/kibana_utils/public/state_containers/create_state_container.ts b/src/plugins/kibana_utils/public/state_containers/create_state_container.ts index d0ab6c762cfa..d420aec30f06 100644 --- a/src/plugins/kibana_utils/public/state_containers/create_state_container.ts +++ b/src/plugins/kibana_utils/public/state_containers/create_state_container.ts @@ -20,7 +20,6 @@ import { BehaviorSubject } from 'rxjs'; import { skip } from 'rxjs/operators'; import { RecursiveReadonly } from '@kbn/utility-types'; -// @ts-ignore import deepFreeze from 'deep-freeze-strict'; import { PureTransitionsToTransitions, diff --git a/yarn.lock b/yarn.lock index 1aca40533e7a..8fdccff49060 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3439,6 +3439,11 @@ resolved "https://registry.yarnpkg.com/@types/dedent/-/dedent-0.7.0.tgz#155f339ca404e6dd90b9ce46a3f78fd69ca9b050" integrity sha512-EGlKlgMhnLt/cM4DbUSafFdrkeJoC9Mvnj0PUCU7tFmTjMjNRT957kXCx0wYm3JuEq4o4ZsS5vG+NlkM2DMd2A== +"@types/deep-freeze-strict@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@types/deep-freeze-strict/-/deep-freeze-strict-1.1.0.tgz#447a6a2576191344aa42310131dd3df5c41492c4" + integrity sha1-RHpqJXYZE0SqQjEBMd099cQUksQ= + "@types/delete-empty@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@types/delete-empty/-/delete-empty-2.0.0.tgz#1647ae9e68f708a6ba778531af667ec55bc61964"