mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 03:13:41 -05:00
Merge pull request #19308 from overleaf/mj-mendeley-search
[web+third-party-references] Add Mendeley search to Write & Cite GitOrigin-RevId: 97c32076a178a71e37b0b57c543e98e44ef84f44
This commit is contained in:
parent
654090b1b3
commit
a46219b055
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ export type CompletionBuilderOptions = {
|
|||
|
||||
export const makeArgumentCompletionSource = (
|
||||
ifInSpec: string[],
|
||||
builder: (builderOptions: CompletionBuilderOptions) => CompletionResult | null
|
||||
builder: (
|
||||
builderOptions: CompletionBuilderOptions
|
||||
) => CompletionResult | null | Promise<CompletionResult | null>
|
||||
): CompletionSource => {
|
||||
const completionSource: CompletionSource = (context: CompletionContext) => {
|
||||
const completionMatches = getCompletionMatches(context)
|
||||
|
|
Loading…
Reference in a new issue