public IInsightItem[] ProvideInsight(ITextEditor editor)
        {
            SignatureHelpItems helpItems = context.GetSignature(editor.FileName, editor.Caret.Offset);

            if (helpItems == null)
            {
                return(new TypeScriptFunctionInsightItem[0]);
            }

            return(helpItems
                   .items
                   .Select(item => new TypeScriptFunctionInsightItem(item))
                   .ToArray());
        }