docs(console): update console documentation (#28196)

Signed-off-by: Jo Franchetti <jofranchetti@gmail.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
Jo Franchetti 2025-02-20 20:50:57 +00:00 committed by GitHub
parent ae8481a2f7
commit c6c2fa8cec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21 additions and 3 deletions

View file

@ -5,13 +5,15 @@
/// <reference no-default-lib="true" />
/// <reference lib="esnext" />
/** @category I/O */
/**
* The Console interface provides methods for logging information to the console,
* as well as other utility methods for debugging and inspecting code.
* Methods include logging, debugging, and timing functionality.
* @see https://developer.mozilla.org/en-US/docs/Web/API/console
*
* @category I/O
*/
/** Interface representing the console object that provides methods for logging, debugging, and timing */
interface Console {
/**
* Tests that an expression is true. If not, logs an error message