[7.x] Fixed grammar (#74725) (#74745)

* Fixed grammar (#74725)

# Conflicts:
#	rfcs/text/0001_lifecycle_setup.md

* Delete 0001_lifecycle_setup.md
This commit is contained in:
igoristic 2020-08-11 13:21:03 -04:00 committed by GitHub
parent 173cae0028
commit 4e9311f7ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ declare module '@elastic/eui' {
1. Open up the file and see how easy it would be to convert to TypeScript.
2. If it's very straightforward, go for it.
3. If it's not and you wish to stay focused on your own PR, get around the error by adding a type definition file in the same folder as the dependency, with the same name.
4. Minimally you will need to type what you are using in your PR. No need to go crazy to fully type the thing or you might be there for awhile depending on what's available.
4. Minimally you will need to type what you are using in your PR. No need to go crazy to fully type the thing or you might be there for a while depending on what's available.
For example:

View file

@ -170,7 +170,7 @@ export class SearchInterceptor {
if (this.longRunningToast) return;
this.longRunningToast = this.deps.toasts.addInfo(
{
title: 'Your query is taking awhile',
title: 'Your query is taking a while',
text: getLongQueryNotification({
application: this.deps.application,
}),

View file

@ -51,7 +51,7 @@ export class EnhancedSearchInterceptor extends SearchInterceptor {
if (this.longRunningToast) return;
this.longRunningToast = this.deps.toasts.addInfo(
{
title: 'Your query is taking awhile',
title: 'Your query is taking a while',
text: getLongQueryNotification({
cancel: this.cancelPending,
runBeyondTimeout: this.runBeyondTimeout,