私は基本汎用クラスBaseModelと私のソリューションのモデルであるサブクラスのセットを持っています。私は何をしたいのは、のようなものです: export default class Person extends Model {
public firstName: string;
public lastName: string;
public age: number
私はselectorにアクセスして、@Componentデコレータに渡す方法を理解しようとしています。例 @Component({
selector: 'my-component'
})
class MyComponent {
constructor() {
// I was hoping for something like the following but