Highlighted

Are there typed definitions available for Granite API

Avatar

Avatar

acroabhi

Avatar

acroabhi

acroabhi

26-11-2019

I am developing an UI component in AEM using typescript. Are there any typed definitions available for Granite API?

Thanks,
Abhijeet

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

30-11-2019

Please check this if helps

Components | CoralUI

Highlighted

Avatar

Avatar

acroabhi

Avatar

acroabhi

acroabhi

03-12-2019

Thanks for the help, but thats not what I am looking for.
Instead of declaring Granite as any(declare var Granite: any), I was wondering if there are any typed definition files available for Granite?
(granite.d.ts) which would ease compiling of code and prevent type errors.

Best,
Abhijeet