Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Are there typed definitions available for Granite API

Avatar

Level 2

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

Thanks,
Abhijeet

0 Replies

Avatar

Level 2

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