Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 230058

How to use ToastController in Ionic 4?

$
0
0

Thanks a lot for this.

The toast is now displaying, but I’m getting a red line under async presentAlert().

This is the error appearing now in VS code when I hover over that line:

An async function or method must return a ‘Promise’. Make sure you have a declaration for ‘Promise’ or include ‘ES2015’ in your --lib option.


Viewing all articles
Browse latest Browse all 230058

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>