chore: remove repetitive words (#7223)

Signed-off-by: JohnEndson <jiayuzhen@outlook.com>
This commit is contained in:
JohnEndson
2024-04-02 16:06:46 +08:00
committed by GitHub
parent b1eae5e91a
commit 39bc37bf10
4 changed files with 3 additions and 3 deletions

View File

Binary file not shown.

View File

@@ -102,7 +102,7 @@ export const displayModifierKey = (key: keyof Omit<KeyCombination, 'keyCode'>) =
}
if (isWindows()) {
// Note: Although this unicode character for the Windows doesn't exist, the the Unicode character U+229E ⊞ SQUARED PLUS is very commonly used for this purpose. For example, Wikipedia uses it as a simulation of the windows logo. Though, Windows itself uses `Windows` or `Win`, so we'll go with `Win` here.
// Note: Although this unicode character for the Windows doesn't exist, the Unicode character U+229E ⊞ SQUARED PLUS is very commonly used for this purpose. For example, Wikipedia uses it as a simulation of the windows logo. Though, Windows itself uses `Windows` or `Win`, so we'll go with `Win` here.
// see: https://en.wikipedia.org/wiki/Windows_key
return 'Win';
}

View File

@@ -288,7 +288,7 @@ export interface Event {
[k: string]: unknown;
}
/**
* A script is a snippet of Javascript code that can be used to to perform setup or teardown operations on a particular response.
* A script is a snippet of Javascript code that can be used to perform setup or teardown operations on a particular response.
*/
export interface Script {
/**

View File

@@ -328,7 +328,7 @@ export interface Event {
[k: string]: unknown;
}
/**
* A script is a snippet of Javascript code that can be used to to perform setup or teardown operations on a particular response.
* A script is a snippet of Javascript code that can be used to perform setup or teardown operations on a particular response.
*/
export interface Script {
/**