error TS2304: Cannot find name 'ej' Angular 7

I am literally going round in circles. Been at it for 2 days. I had this working in Angular 4 without an issue.
I am starting a new product in Angular7 and I am getting the error:
error TS2304: Cannot find name 'ej'.

I installed the types and the packages. I tried to use the typings file as suggested in the other thread with no avail.
It just keeps saying, they are depreciated.
I am at a lost and cannot get past this.
I have attached a simple snapshot. Just trying to get the ribbon to show. It's under app/components.
Any help would be helpful.
Thanks

Attachment: angular7_fc1d8fc0.zip

3 Replies

SA Sumair Ahmed November 2, 2018 11:14 AM UTC

Anybody?


CI Christopher Issac Sunder K Syncfusion Team November 2, 2018 11:21 AM UTC

Hi Sumair Ahmed,  

Thank you for contacting Syncfusion Support.  

We are able to reproduce your reported issue from our end. The issue is due to typings not properly referred in Angular CLI application.  

For now, we suggest you to refer ej.web.all typing in triple-slash directives at the top of the component file (ribbon.component.ts) to resolve this issue.  
 
/// <reference types="ej.web.all" />  
  
import { Component, ViewChild } from '@angular/core';  

We have modified the provided sample and attached below, 

Sample  

For more information on Angular CLI integration, Refer to the below link, 

Please let us know if you need any further assistance.  

Thanks, 
Christo


SA Sumair Ahmed November 2, 2018 12:17 PM UTC

Thanks. 

Loader.
Up arrow icon