MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / create

Function create

src/cm/lsp/diagnostics.ts:78–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76
77const lspPublishedDiagnostics = StateField.define<LspDiagnostic[]>({
78 create(): LspDiagnostic[] {
79 return [];
80 },
81 update(value: LspDiagnostic[], tr): LspDiagnostic[] {
82 for (const effect of tr.effects) {
83 if (effect.is(setPublishedDiagnostics)) {

Callers 1

index.jsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected