fix: remove unnecessary .js extension in imports (#9713)

* fix: remove extension when importing file

* removed unnecessary .js extension in imports

---------

Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
This commit is contained in:
변경연 2023-01-28 20:01:24 +09:00 committed by GitHub
parent 74f7f796aa
commit 6b37e3818b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ import { ReplicationMode } from "../types/ReplicationMode"
import { TypeORMError } from "../../error"
import { MetadataTableType } from "../types/MetadataTableType"
import { InstanceChecker } from "../../util/InstanceChecker"
import { VersionUtils } from "../../util/VersionUtils.js"
import { VersionUtils } from "../../util/VersionUtils"
/**
* Runs queries on a single postgres database connection.

View File

@ -127,7 +127,7 @@ export * from "./schema-builder/options/TableUniqueOptions"
export * from "./schema-builder/options/ViewOptions"
export * from "./driver/mongodb/typings"
export * from "./driver/types/DatabaseType"
export * from "./driver/types/GeoJsonTypes.js"
export * from "./driver/types/GeoJsonTypes"
export * from "./driver/types/ReplicationMode"
export * from "./driver/sqlserver/MssqlParameter"

View File

@ -4,7 +4,7 @@ import {
OneToOne,
PrimaryGeneratedColumn,
} from "../../../../../src/index"
import { Account } from "./Account.js"
import { Account } from "./Account"
@Entity()
export class Person {

View File

@ -6,8 +6,8 @@ import {
sleep,
} from "../../../utils/test-utils"
import { DataSource } from "../../../../src/index"
import { Account } from "./entity/Account.js"
import { Person } from "./entity/Person.js"
import { Account } from "./entity/Account"
import { Person } from "./entity/Person"
describe("query builder > time-travel-query", () => {
// -------------------------------------------------------------------------