docs: add JSDoc comments to OverlayService

This commit is contained in:
Chneemann 2024-11-14 04:42:26 +01:00
parent 11e9161135
commit bf88b88b99

View file

@ -10,6 +10,12 @@ export class OverlayService {
constructor() {}
/**
* Set the overlay data subject.
*
* @param overlay The overlay type.
* @param data The overlay data.
*/
setOverlayData(overlay: string, data: any) {
this.overlayDataSubject.next({ overlay, data });
}