Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creates conflicting imports #55

Open
kanongil opened this issue Oct 5, 2017 · 0 comments
Open

Creates conflicting imports #55

kanongil opened this issue Oct 5, 2017 · 0 comments

Comments

@kanongil
Copy link

kanongil commented Oct 5, 2017

This results in multiple computed imports:

import Ember from 'ember';
import computed from 'my-computed';

export default Ember.Component.extend({
  a: Ember.computed(() => { return 'ok' }),
  b: computed('a')
});

=>

import { computed } from '@ember/object';
import Component from '@ember/component';
import computed from 'my-computed';

export default Component.extend({
  a: computed(() => { return 'ok' }),
  b: computed('a')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant