fixes incorrect reference to ember decorators action. deletes obsolete type definitions for ember decorators, lib now includes ts definitions

This commit is contained in:
Seyi Adebajo 2018-05-14 22:57:23 -07:00
parent eb679c788b
commit 9a2e7ab411
2 changed files with 1 additions and 22 deletions

View File

@ -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';

View File

@ -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';