function onDidInsertSuggestion({ editor, triggerPosition, re }): Promise<void> { } class X { async onDidInsertSuggestion({editor, triggerPosition, suggestion}): Promise< void > { } }