()
| 419 | ): StateField<SuggestionState> { |
| 420 | return overleafCm.StateField.define<SuggestionState>({ |
| 421 | create() { |
| 422 | return { suggestion: null, doc: null, pos: null }; |
| 423 | }, |
| 424 | |
| 425 | update(previousValue: SuggestionState, tr: Transaction): SuggestionState { |
| 426 | const suggestionFetched = tr.effects.find( |
no outgoing calls
no test coverage detected