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

Service and Controller imports #88

Closed
ssutar opened this issue Mar 2, 2019 · 1 comment
Closed

Service and Controller imports #88

ssutar opened this issue Mar 2, 2019 · 1 comment

Comments

@ssutar
Copy link
Contributor

ssutar commented Mar 2, 2019

Input:

import Service from "@ember/service";
import Controller from "@ember/controller";

const ser = Service.extend({});
const ctrl = Controller.extend({});

Expected:

import Service from "@ember/service";
import Controller from "@ember/controller";

class Ser extends Service {}
class Ctrl extends Controller {}

Actual result:

import Service from "@ember-decorators/service";
import Controller from "@ember-decorators/controller";

class Ser extends Service {}
class Ctrl extends Controller {}
@ssutar
Copy link
Contributor Author

ssutar commented Mar 6, 2019

Happens for

import Evented from "@ember/object/evented";

@ssutar ssutar closed this as completed May 30, 2019
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