session-desktop/patches/@types+react-mentions+3.3.1.patch
Audric Ackermann 4df8e06c3c
patch react-mentions types with custom one
this can be reverted once
https://github.com/signavio/react-mentions/pull/449 is merged upstream,
as the DefinitelyTyped types will be regenerated
2020-11-27 17:18:12 +11:00

35 lines
1.4 KiB
Diff

diff --git a/node_modules/@types/react-mentions/README.md b/node_modules/@types/react-mentions/README.md
deleted file mode 100644
index 8f5cd37..0000000
--- a/node_modules/@types/react-mentions/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Installation
-> `npm install --save @types/react-mentions`
-
-# Summary
-This package contains type definitions for react-mentions (https://github.com/signavio/react-mentions).
-
-# Details
-Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-mentions.
-
-### Additional Details
- * Last updated: Wed, 28 Oct 2020 03:29:22 GMT
- * Dependencies: [@types/react](https://npmjs.com/package/@types/react)
- * Global values: none
-
-# Credits
-These definitions were written by [Scott Willeke](https://github.com/activescott), and [Eugene Fedorenko](https://github.com/efedorenko).
diff --git a/node_modules/@types/react-mentions/index.d.ts b/node_modules/@types/react-mentions/index.d.ts
index 70256dd..bbba5cb 100644
--- a/node_modules/@types/react-mentions/index.d.ts
+++ b/node_modules/@types/react-mentions/index.d.ts
@@ -33,6 +33,7 @@ export interface MentionsInputProps extends Omit<React.TextareaHTMLAttributes<HT
*/
allowSpaceInQuery?: boolean;
allowSuggestionsAboveCursor?: boolean;
+ forceSuggestionsAboveCursor?: boolean;
ignoreAccents?: boolean;
value?: string;
onChange?: OnChangeHandlerFunc;