From 69ab345a89e66fb04a4e7ecc056971e78bdbb28e Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Mon, 9 Aug 2021 19:24:09 -0700 Subject: [PATCH] Start migrating error.js to TypeScript --- src/matrix/storage/idb/Store.js | 2 +- src/matrix/storage/idb/{error.js => error.ts} | 0 src/matrix/storage/idb/utils.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/matrix/storage/idb/{error.js => error.ts} (100%) diff --git a/src/matrix/storage/idb/Store.js b/src/matrix/storage/idb/Store.js index 2cafe500..91617b5f 100644 --- a/src/matrix/storage/idb/Store.js +++ b/src/matrix/storage/idb/Store.js @@ -15,7 +15,7 @@ limitations under the License. */ import {QueryTarget} from "./QueryTarget.js"; -import {IDBRequestAttemptError} from "./error.js"; +import {IDBRequestAttemptError} from "./error"; const LOG_REQUESTS = false; diff --git a/src/matrix/storage/idb/error.js b/src/matrix/storage/idb/error.ts similarity index 100% rename from src/matrix/storage/idb/error.js rename to src/matrix/storage/idb/error.ts diff --git a/src/matrix/storage/idb/utils.ts b/src/matrix/storage/idb/utils.ts index b0097ce7..8e63d1fa 100644 --- a/src/matrix/storage/idb/utils.ts +++ b/src/matrix/storage/idb/utils.ts @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { IDBRequestError } from "./error.js"; +import { IDBRequestError } from "./error"; import { StorageError } from "../common"; let needsSyncPromise = false;