public internNavItems: NavBarInterface[] = [
{name: 'Profile', routerLink: RouterUrl.USER_INFO, icon: 'fa fa-user'},
{name: 'Tasks', routerLink: RouterUrl.TASKS, icon: 'fa fa-play-circle-o'},
{name: 'My Settings', routerLink: RouterUrl.MY_SETTINGS, icon: 'fa fa-cogs'},
// {name: 'Editor', routerLink: RouterUrl.CODE_EDITOR, icon: 'fa fa-edit'},
];
public internNavItems$: Observable<NavBarInterface[]> = from(this.internNavItems);
public internNavItems$ выдает ошибку:
Type 'Observable' is not assignable to type 'Observable'.
Type 'NavBarInterface' is missing the following properties from type 'NavBarInterface[]': length, pop, push, concat, and 26 more.