We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e54d17b commit 31aed34Copy full SHA for 31aed34
2 files changed
src/app/plugins/search-indexer/index.ts
@@ -140,7 +140,8 @@ function scheduleFlush(): void {
140
}
141
142
function post(msg: IndexWorkerMessageOut): void {
143
- self.postMessage(msg, self.location.origin);
+ // oxlint-disable-next-line unicorn/require-post-message-target-origin
144
+ self.postMessage(msg);
145
146
147
function makeTypeFilter(
src/app/plugins/search-indexer/types.ts
@@ -13,7 +13,8 @@ export type SearchIndexEvent = {
13
filename?: string;
14
url?: string;
15
info?: IFileInfo;
16
- file?: unknown;
+ // oxlint-disable-next-line typescript/no-explicit-any
17
+ file?: any;
18
};
19
20
export enum WorkerMessageTypeIn {
0 commit comments