新活字体に(ただし、OOにデザイン)のプロパティ「リポジトリ」を読み取ることができません活字のエラーは、私は何が起こるかを理解していない未定義
ファイルが
class
APPLICATION{
constructor(){
console.log("constructor APPLICATION")
this.database = new REPOSITORY
}
database: REPOSITORY
}
new APPLICATION
import { REPOSITORY } from "./repository"
ファイルrepository.ts
をapplication.tsexport
class
REPOSITORY {
constructor() {
console.log("constructor de REPOSITORY")
}
}
と私はエラー
this.database = new repository_1.REPOSITORY;
^
を取得
はTypeError:新しいアプリケーションで未定義 のプロパティ 'リポジトリ' を読み取ることができません(Z:ファイ\デベロップメント\活字\テスト\ \ドキュメント\ application.js:6:41)
任意のアイデア?