Select to view content in your preferred language

Alert component doesn't have Typescript information

710
2
Jump to solution
11-16-2023 02:09 PM
KenBuja
MVP Esteemed Contributor

I'm using the Alert component, but TypeScript is throwing an error.

import { Alert } from 'jimu-ui'

alert.png

The Alert component does work properly, but doesn't show all the properties in the suggested code completion (like closable, withIcon, etc).

0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

This will be fixed in ExB DE 1.14, according to the staff at the Dev Summit.

View solution in original post

2 Replies
lmotta_ibama
Occasional Contributor

@KenBuja 

I use Alert without any problems, only VSCode can't interpret this component, so it's not possible to use VSCode's features (Ex. intelliSense)

0 Kudos
KenBuja
MVP Esteemed Contributor

This will be fixed in ExB DE 1.14, according to the staff at the Dev Summit.