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

api/treenode.ts Fails Evaluating #137

Closed
pratikthecook opened this issue Mar 23, 2016 · 3 comments
Closed

api/treenode.ts Fails Evaluating #137

pratikthecook opened this issue Mar 23, 2016 · 3 comments

Comments

@pratikthecook
Copy link

interface TreeNode {
    label?: string;
    data?: any;
    icon?: any;
    expandedIcon?: any;
    collapsedIcon?: any;
    children?: TreeNode[];
    leaf?: boolean;
}

While trying to load a tree of the basic item <p-tree [value]="files"></p-tree>

following is the console output

Uncaught SyntaxError: Unexpected identifier
Evaluating http://localhost:63342/sourcePrimeNg/components/api/treenode.ts

I fixed this by simply replacing all references of the interface TreeNode with any;

@pratikthecook pratikthecook changed the title api/treenode.ts Fails Evaulating api/treenode.ts Fails Evaluating Mar 23, 2016
@cagataycivici
Copy link
Member

What is your version?

@cagataycivici
Copy link
Member

Please try with 0.8.2 as this looks same as

#127

@pratikthecook
Copy link
Author

Yes ive checked now the issue is resolved, work fine 👍 thanks..

atretyak1985 added a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
atretyak1985 pushed a commit to Nanitor/primeng that referenced this issue Jul 18, 2020
Disable form autocomplete on comments field primefaces#137
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