Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 17, 2024
1 parent 9c2802d commit b8d01b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions types/ext/settings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import {PointerType} from 'text-scanner';

Check failure on line 18 in types/ext/settings.d.ts

View workflow job for this annotation

GitHub Actions / Static Analysis

Cannot find module 'text-scanner' or its corresponding type declarations.
import type * as Input from './input';
import type * as TextScanner from './text-scanner';

export type OptionsContextFlag = 'clipboard';

Expand All @@ -28,7 +28,7 @@ export type OptionsContext1 = {
flags?: OptionsContextFlag[];
modifiers?: Input.Modifier[];
modifierKeys?: Input.ModifierKey[];
pointerType?: TextScanner.PointerType;
pointerType?: PointerType;
};

export type OptionsContext2 = {
Expand All @@ -39,7 +39,7 @@ export type OptionsContext2 = {
flags?: OptionsContextFlag[];
modifiers?: Input.Modifier[];
modifierKeys?: Input.ModifierKey[];
pointerType?: TextScanner.PointerType;
pointerType?: PointerType;
};

export type OptionsContext3 = {
Expand All @@ -50,7 +50,7 @@ export type OptionsContext3 = {
flags?: OptionsContextFlag[];
modifiers?: Input.Modifier[];
modifierKeys?: Input.ModifierKey[];
pointerType?: TextScanner.PointerType;
pointerType?: PointerType;
};

export type OptionsContext = OptionsContext1 | OptionsContext2 | OptionsContext3;
Expand Down

0 comments on commit b8d01b1

Please sign in to comment.