From e9e504b40dde8691c32c933c7e27e28cfad1c8b5 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Tue, 19 Dec 2023 01:17:22 -0500 Subject: Template type improvements (#380) * Default templates to unknown * Default typescript templates to unknown * More template type updates --- ext/js/comm/frame-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/js/comm') diff --git a/ext/js/comm/frame-client.js b/ext/js/comm/frame-client.js index b07bb796..5e997622 100644 --- a/ext/js/comm/frame-client.js +++ b/ext/js/comm/frame-client.js @@ -56,7 +56,7 @@ export class FrameClient { } /** - * @template T + * @template [T=unknown] * @param {T} data * @returns {import('frame-client').Message} * @throws {Error} -- cgit v1.2.3