MCPcopy Create free account
hub / github.com/SplootCode/splootcode / staticSuggestions

Method staticSuggestions

packages/language-web/types/js/import.ts:27–31  ·  view source on GitHub ↗
(parent: ParentReference, index: number)

Source from the content-addressed store, hash-verified

25
26class Generator implements SuggestionGenerator {
27 staticSuggestions(parent: ParentReference, index: number): SuggestedNode[] {
28 const sampleNode = new ImportStatement(null)
29 const suggestedNode = new SuggestedNode(sampleNode, 'import', 'import', true)
30 return [suggestedNode]
31 }
32
33 async dynamicSuggestions(parent: ParentReference, index: number, textInput: string): Promise<SuggestedNode[]> {
34 return []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected