Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeetCode-OpenSource/ayanami
/ addTips
Method
addTips
test/specs/immer-reducer.spec.ts:27–29 ·
view source on GitHub ↗
(state: Draft<TipsState>, tips: string)
Source
from the content-addressed store, hash-verified
25
26
@ImmerReducer()
27
addTips(state: Draft<TipsState>, tips: string) {
28
state.tips = `${state.tips} ${tips}`
29
}
30
}
31
32
describe(
'ImmerReducer spec:'
, () => {
Callers
1
immer-reducer.spec.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected