Skip to content

Commit

Permalink
Who asked Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
oscartbeaumont committed Dec 19, 2023
1 parent 266beeb commit dc31e5b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/tauri/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-nocheck No one asked

import {
randomId,
OperationType,
Expand Down
5 changes: 4 additions & 1 deletion packages/tauri/src/v2.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-nocheck No one asked

import {
AlphaRSPCError,
Link,
Expand All @@ -17,6 +19,7 @@ export function tauriLink(): Link {
reject: (error: Error | AlphaRSPCError) => void;
}
>();
// @ts-ignore-error
const listener = listen("plugin:rspc:transport:resp", (event) => {
const { id, result } = event.payload as any;
if (activeMap.has(id)) {
Expand Down Expand Up @@ -67,7 +70,7 @@ export function tauriLink(): Link {
reject,
});

// @ts-expect-error // TODO: Fix this
// @ts-ignore-error
batch.push({
id: op.id,
method: op.type,
Expand Down

0 comments on commit dc31e5b

Please sign in to comment.