Skip to content

Commit 4fc422b

Browse files
committed
fix lint error
1 parent 30736f8 commit 4fc422b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/guides/testing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const create = (<T>() => {
9191
console.log('zustand create mock')
9292

9393
// to support curried version of create
94-
return typeof stateCreator === "function"
94+
return typeof stateCreator === 'function'
9595
? createUncurried(stateCreator)
9696
: createUncurried
9797
}) as typeof zustand.create
@@ -110,7 +110,7 @@ export const createStore = (<T>(stateCreator: zustand.StateCreator<T>) => {
110110
console.log('zustand createStore mock')
111111

112112
// to support curried version of createStore
113-
return typeof stateCreator === "function"
113+
return typeof stateCreator === 'function'
114114
? createStoreUncurried(stateCreator)
115115
: createStoreUncurried
116116
}) as typeof zustand.createStore
@@ -180,7 +180,7 @@ export const create = (<T>() => {
180180
console.log('zustand create mock')
181181

182182
// to support curried version of create
183-
return typeof stateCreator === "function"
183+
return typeof stateCreator === 'function'
184184
? createUncurried(stateCreator)
185185
: createUncurried
186186
}) as typeof zustand.create
@@ -199,7 +199,7 @@ export const createStore = (<T>(stateCreator: zustand.StateCreator<T>) => {
199199
console.log('zustand createStore mock')
200200

201201
// to support curried version of createStore
202-
return typeof stateCreator === "function"
202+
return typeof stateCreator === 'function'
203203
? createStoreUncurried(stateCreator)
204204
: createStoreUncurried
205205
}) as typeof zustand.createStore

0 commit comments

Comments
 (0)