Skip to content

Commit

Permalink
Remove import type
Browse files Browse the repository at this point in the history
  • Loading branch information
matteodepalo committed Aug 8, 2023
1 parent 072eb74 commit 7458927
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/focus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import EventEmitter from 'node:events';
import React, {useEffect} from 'react';
import delay from 'delay';
import test from 'ava';
import {spy, stub} from 'sinon';
import type {SinonStub} from 'sinon';
import {spy, stub, SinonStub} from 'sinon';

Check failure on line 5 in test/focus.tsx

View workflow job for this annotation

GitHub Actions / Node.js 14

Import "SinonStub" is only used as types.

Check failure on line 5 in test/focus.tsx

View workflow job for this annotation

GitHub Actions / Node.js 18

Import "SinonStub" is only used as types.
import {render, Box, Text, useFocus, useFocusManager} from '../src/index.js';
import createStdout from './helpers/create-stdout.js';

Expand Down

0 comments on commit 7458927

Please sign in to comment.