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

Can not resolve symbol LocalDataSource #31

Open
DMezhenskyi opened this issue Sep 21, 2016 · 1 comment
Open

Can not resolve symbol LocalDataSource #31

DMezhenskyi opened this issue Sep 21, 2016 · 1 comment

Comments

@DMezhenskyi
Copy link

Hello! I have just added the code from your Quick Start tutorial and my Idea PhpStorm (10.0.4) underscore LocalDataSource when i'm trying to import it from ng2-smart-table and shows tip "Can not resolve symbol LocalDataSource":
import { Ng2SmartTableModule, LocalDataSource } from 'ng2-smart-table';

Everything actually works good as aspected but this underscore is a little bit annoying. And because of it also not available autocomplete in Idea.
My environment:
typescript: 2.0.2,
angular: 2.0.0

angular-cli: 1.0.0-beta.14
node: 5.6.0
os: darwin x64

"ng2-smart-table": "^0.3.1"

P.s Thanks for this useful component

@Cacanny
Copy link

Cacanny commented Dec 8, 2016

In my project i have import { Ng2SmartTableModule } in my Module and I have LocalDataSource import statement in my component. If you do it like this it'll work.

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

2 participants