Skip to content

Commit

Permalink
fix: remove unnecessary .js extension in imports (#9713)
Browse files Browse the repository at this point in the history
* fix: remove extension when importing file

* removed unnecessary .js extension in imports

---------

Co-authored-by: Dmitry Zotov <dmzt08@gmail.com>
  • Loading branch information
kyung-yeon and AlexMesser committed Jan 28, 2023
1 parent 74f7f79 commit 6b37e38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/driver/cockroachdb/CockroachQueryRunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
OneToOne,
PrimaryGeneratedColumn,
} from "../../../../../src/index"
import { Account } from "./Account.js"
import { Account } from "./Account"

@Entity()
export class Person {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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", () => {
// -------------------------------------------------------------------------
Expand Down

0 comments on commit 6b37e38

Please sign in to comment.