Skip to content

Commit 8e2278b

Browse files
Fix lint issue
1 parent 5842232 commit 8e2278b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/__tests__/test-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ type StateSlot<T> = { get: () => T; set: (v: T) => void };
3333
export function makeWebViewState() {
3434
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3535
const slots = new Map<string, StateSlot<any>>();
36-
return <T,>(key: string, defaultValue: T): [T, (v: T) => void, () => void] => {
36+
return <T>(key: string, defaultValue: T): [T, (v: T) => void, () => void] => {
3737
let slot: StateSlot<T> | undefined = slots.get(key);
3838
if (slot === undefined) {
3939
let stored = defaultValue;

0 commit comments

Comments
 (0)