removed unnecessary .js extension in imports

This commit is contained in:
Dmitry Zotov 2023-02-07 17:18:19 +05:00
parent 54ca9dd801
commit 9bd3a641cc
10 changed files with 17 additions and 17 deletions

View File

@ -24,7 +24,7 @@ import { Table } from "../../schema-builder/table/Table"
import { View } from "../../schema-builder/view/View"
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
import { InstanceChecker } from "../../util/InstanceChecker"
import { UpsertType } from "../types/UpsertType.js"
import { UpsertType } from "../types/UpsertType"
/**
* Organizes communication with MongoDB.

View File

@ -25,7 +25,7 @@ import { View } from "../../schema-builder/view/View"
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
import { TypeORMError } from "../../error"
import { InstanceChecker } from "../../util/InstanceChecker"
import { UpsertType } from "../types/UpsertType.js"
import { UpsertType } from "../types/UpsertType"
/**
* Organizes communication with Oracle RDBMS.

View File

@ -25,7 +25,7 @@ import { ReplicationMode } from "../types/ReplicationMode"
import { DriverUtils } from "../DriverUtils"
import { View } from "../../schema-builder/view/View"
import { InstanceChecker } from "../../util/InstanceChecker"
import { UpsertType } from "../types/UpsertType.js"
import { UpsertType } from "../types/UpsertType"
/**
* Organizes communication with SAP Hana DBMS.

View File

@ -20,7 +20,7 @@ import { Table } from "../../schema-builder/table/Table"
import { View } from "../../schema-builder/view/View"
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
import { CteCapabilities } from "../types/CteCapabilities"
import { UpsertType } from "../types/UpsertType.js"
import { UpsertType } from "../types/UpsertType"
/**
* Organizes communication with Spanner DBMS.

View File

@ -26,7 +26,7 @@ import { View } from "../../schema-builder/view/View"
import { TableForeignKey } from "../../schema-builder/table/TableForeignKey"
import { TypeORMError } from "../../error"
import { InstanceChecker } from "../../util/InstanceChecker"
import { UpsertType } from "../types/UpsertType.js"
import { UpsertType } from "../types/UpsertType"
/**
* Organizes communication with SQL Server DBMS.

View File

@ -3,8 +3,8 @@ import {
Entity,
ManyToOne,
PrimaryGeneratedColumn,
} from "../../../../src/index.js"
import { ChangeLog } from "./ChangeLog.js"
} from "../../../../src/index"
import { ChangeLog } from "./ChangeLog"
@Entity()
export class Change<T> {

View File

@ -1,6 +1,6 @@
import { OneToMany, ChildEntity } from "../../../../src/index.js"
import { Change } from "./Change.js"
import { Log } from "./Log.js"
import { OneToMany, ChildEntity } from "../../../../src/index"
import { Change } from "./Change"
import { Log } from "./Log"
@ChildEntity()
export abstract class ChangeLog<T> extends Log {

View File

@ -1,5 +1,5 @@
import { ChildEntity } from "../../../../src/index.js"
import { ChangeLog } from "./ChangeLog.js"
import { ChildEntity } from "../../../../src/index"
import { ChangeLog } from "./ChangeLog"
export class Email {}

View File

@ -2,7 +2,7 @@ import {
Entity,
PrimaryGeneratedColumn,
TableInheritance,
} from "../../../../src/index.js"
} from "../../../../src/index"
@Entity()
@TableInheritance({ column: { type: "varchar", name: "type" } })

View File

@ -4,10 +4,10 @@ import {
createTestingConnections,
reloadTestingDatabases,
} from "../../utils/test-utils"
import { DataSource } from "../../../src/index.js"
import { Email, EmailChanged } from "./entity/EmailChanged.js"
import { Change } from "./entity/Change.js"
import { Log } from "./entity/Log.js"
import { DataSource } from "../../../src/index"
import { Email, EmailChanged } from "./entity/EmailChanged"
import { Change } from "./entity/Change"
import { Log } from "./entity/Log"
describe("github issues > #9405 Incorrect subject sorting with multi-inheritance entities", () => {
let dataSources: DataSource[]