Skip to content

Instantly share code, notes, and snippets.

@droidjahangir
Created September 16, 2021 04:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save droidjahangir/60b062b00097d4cdd82b79922f9922e6 to your computer and use it in GitHub Desktop.
Save droidjahangir/60b062b00097d4cdd82b79922f9922e6 to your computer and use it in GitHub Desktop.
class Department {
// private readonly id: string;
// private name: string;
private employees: string[] = [];
constructor(private readonly id: string, public name: string) {
// this.id = id;
// this.name = n;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment