From ab4c5645a6c8f3eb407afa1b14a4202a9c2f493b Mon Sep 17 00:00:00 2001 From: iamharshdev Date: Mon, 9 Sep 2024 16:18:59 +0530 Subject: [PATCH] Fix Method cannot be declared public because its parameter uses an internal type --- Sources/TheBoringWorkerNotifier/TheBoringWorkerNotifier.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/TheBoringWorkerNotifier/TheBoringWorkerNotifier.swift b/Sources/TheBoringWorkerNotifier/TheBoringWorkerNotifier.swift index 4fc0eab..88236e5 100644 --- a/Sources/TheBoringWorkerNotifier/TheBoringWorkerNotifier.swift +++ b/Sources/TheBoringWorkerNotifier/TheBoringWorkerNotifier.swift @@ -3,7 +3,7 @@ import Foundation -struct WorkerNotification { +public struct WorkerNotification { var name: String var handler: (Notification) -> Void }