From 9a2e7ab41167b0593b09f0fd95e9ddbaa5a4611a Mon Sep 17 00:00:00 2001 From: Seyi Adebajo Date: Mon, 14 May 2018 22:57:23 -0700 Subject: [PATCH] fixes incorrect reference to ember decorators action. deletes obsolete type definitions for ember decorators, lib now includes ts definitions --- .../app/components/pwr-user-lookup.ts | 2 +- .../app/typings/ember-decorators.d.ts | 21 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 wherehows-web/app/typings/ember-decorators.d.ts diff --git a/wherehows-web/app/components/pwr-user-lookup.ts b/wherehows-web/app/components/pwr-user-lookup.ts index 783b6fd93f..0a431ee02a 100644 --- a/wherehows-web/app/components/pwr-user-lookup.ts +++ b/wherehows-web/app/components/pwr-user-lookup.ts @@ -1,6 +1,6 @@ import { get, set, setProperties } from '@ember/object'; import { typeOf } from '@ember/utils'; -import { action } from 'ember-decorators/object'; +import { action } from '@ember-decorators/object'; import UserLookup from 'wherehows-web/components/user-lookup'; import { Keyboard } from 'wherehows-web/constants/keyboard'; import { suggestionLimit } from 'wherehows-web/constants/typeahead'; diff --git a/wherehows-web/app/typings/ember-decorators.d.ts b/wherehows-web/app/typings/ember-decorators.d.ts deleted file mode 100644 index 56d8ac8543..0000000000 --- a/wherehows-web/app/typings/ember-decorators.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -declare module 'ember-decorators' { - export namespace Decorators { - const action: MethodDecorator; - } - export default Decorators; -} - -declare module 'ember-decorators/object' { - import Decorators from 'ember-decorators'; - export const action: typeof Decorators.action; -} - -declare module 'ember-decorators/component'; - -declare module 'ember-decorators/controller'; - -declare module 'ember-decorators/data'; - -declare module 'ember-decorators/service'; - -declare module 'ember-decorators/utils';