Skip to content

Instantly share code, notes, and snippets.

@agnanachandran
Last active February 15, 2018 21:32
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 agnanachandran/09f3aef0837fc450cac96a0fc36ca99a to your computer and use it in GitHub Desktop.
Save agnanachandran/09f3aef0837fc450cac96a0fc36ca99a to your computer and use it in GitHub Desktop.
models/notification.ts
class Notification {
@observable read: boolean;
constructor(
public id: string,
public content: string,
public time: number,
read: boolean
) {
this.read = read;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment