diff --git a/src/utils/Idler.js b/src/utils/Idler.tsx similarity index 93% rename from src/utils/Idler.js rename to src/utils/Idler.tsx index 772ab68ef..d20d71711 100644 --- a/src/utils/Idler.js +++ b/src/utils/Idler.tsx @@ -5,7 +5,7 @@ * @format */ -import {CancelledPromiseError} from './errors.tsx'; +import {CancelledPromiseError} from './errors'; export class Idler { lastIdle: number; diff --git a/src/utils/__tests__/Idler.node.js b/src/utils/__tests__/Idler.node.js index 38570a980..fd7027bae 100644 --- a/src/utils/__tests__/Idler.node.js +++ b/src/utils/__tests__/Idler.node.js @@ -5,7 +5,7 @@ * @format */ -import {Idler} from '../Idler'; +import {Idler} from '../Idler.tsx'; test('Idler should interrupt', async () => { const idler = new Idler(); diff --git a/src/utils/serialization.js b/src/utils/serialization.js index 2bdd51661..a4b11ef9c 100644 --- a/src/utils/serialization.js +++ b/src/utils/serialization.js @@ -5,7 +5,7 @@ * @format */ -import {Idler} from './Idler'; +import {Idler} from './Idler.tsx'; export async function serialize( obj: Object, idler?: Idler,