Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 5a39bc5

Browse files
committed
Fix unused lint warnings
1 parent 9acf9cb commit 5a39bc5

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

packages/tre/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
Response,
1313
fetch,
1414
} from "undici";
15-
import workerd from "workerd";
1615
import { z } from "zod";
1716
import { setupCf } from "./cf";
1817

packages/tre/src/plugins/cache/gateway.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ export class CacheGateway {
77
private readonly clock: Clock
88
) {}
99

10-
async match(key: string) {
10+
async match(_key: string) {
1111
throw new Error("Not yet implemented!");
1212
}
1313

14-
async put(key: string, value: Uint8Array) {
14+
async put(_key: string, _value: Uint8Array) {
1515
throw new Error("Not yet implemented!");
1616
}
1717

18-
async delete(key: string) {
18+
async delete(_key: string) {
1919
throw new Error("Not yet implemented!");
2020
}
2121
}

packages/tre/src/plugins/cache/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export const CACHE_PLUGIN: Plugin<
2121
router: CacheRouter,
2222
options: CacheOptionsSchema,
2323
sharedOptions: CacheSharedOptionsSchema,
24-
getBindings(options) {
24+
getBindings(_options) {
2525
return undefined;
2626
},
27-
getServices(options) {
27+
getServices(_options) {
2828
return undefined;
2929
},
3030
};

packages/tre/src/plugins/do/gateway.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ export class DurableObjectsStorageGateway {
77
private readonly clock: Clock
88
) {}
99

10-
async get(key: string) {
10+
async get(_key: string) {
1111
throw new Error("Not yet implemented!");
1212
}
1313

14-
async put(key: string, value: Uint8Array) {
14+
async put(_key: string, _value: Uint8Array) {
1515
throw new Error("Not yet implemented!");
1616
}
1717

18-
async delete(key: string) {
18+
async delete(_key: string) {
1919
throw new Error("Not yet implemented!");
2020
}
2121

0 commit comments

Comments
 (0)