MCPcopy 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
32describe('ImmerReducer spec:', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected