// ComicBookCharacterDefault.ts

"use strict";

class ComicBookCharacterDefault {
  constructor(
    public alias: string,
    public health: number,
    public strength: number,
    private secretIdentity: string
  ) {}
}

export { ComicBookCharacterDefault };

// ComicBookCharacterDefault.ts

"use strict";

class ComicBookCharacterDefault {
  constructor(
    public alias: string,
    public health: number,
    public strength: number,
    protected secretIdentity: string
  ) {}
}

export { ComicBookCharacterDefault };

Change access level for secretIdentity
Change access level for secretIdentity
