Add JSDoc comments for error overlay to match other experimental features (#5633)
This commit is contained in:
parent
8e67d75793
commit
7f7450e673
1 changed files with 16 additions and 1 deletions
|
@ -907,8 +907,23 @@ export interface AstroUserConfig {
|
||||||
*/
|
*/
|
||||||
experimental?: {
|
experimental?: {
|
||||||
/**
|
/**
|
||||||
* @hidden
|
* @docs
|
||||||
|
* @name experimental.errorOverlay
|
||||||
|
* @type {boolean}
|
||||||
|
* @default `false`
|
||||||
|
* @version 1.7.0
|
||||||
|
* @description
|
||||||
* Turn on experimental support for the new error overlay component.
|
* Turn on experimental support for the new error overlay component.
|
||||||
|
*
|
||||||
|
* To enable this feature, set `experimental.errorOverlay` to `true` in your Astro config:
|
||||||
|
*
|
||||||
|
* ```js
|
||||||
|
* {
|
||||||
|
* experimental: {
|
||||||
|
* errorOverlay: true,
|
||||||
|
* },
|
||||||
|
* }
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
errorOverlay?: boolean;
|
errorOverlay?: boolean;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue