diff --git a/types/awesomplete/index.d.ts b/types/awesomplete/index.d.ts index a710b4b584..4f3d05d5ca 100644 --- a/types/awesomplete/index.d.ts +++ b/types/awesomplete/index.d.ts @@ -54,7 +54,7 @@ declare namespace Awesomplete { filter?(text: string, input: string): boolean; sort?: boolean | SortFunction; item?(text: string, input: string): HTMLElement; - replace?(text: string): void; + replace?(suggestion: string | Suggestion): void; } }