Skip to content

Commit facec05

Browse files
refactor: enhance UnityBannerType definition with additional comments for clarity
1 parent 0cfe842 commit facec05

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

module/source/types/unity-banner-type.d.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
* Banners can be used to display non-critical warnings and error messages from
33
* the Unity Instance.
44
*/
5-
type UnityBannerType = "error" | "warning";
5+
type UnityBannerType =
6+
/**
7+
* Represents an error banner type. This banner type is used to display
8+
* critical errors from the Unity Instance.
9+
*/
10+
| "error"
11+
/**
12+
* Represents a warning banner type. This banner type is used to display
13+
* non-critical warnings from the Unity Instance.
14+
*/
15+
| "warning";
616

717
export type { UnityBannerType };

0 commit comments

Comments
 (0)