I\'m new to TypeScript and I\'m stuck at working with JSON. I need to create a simple JSON object and I keep on failing doing so. Here are my first attempts:
out
You can also do the following
const rememberUser:JSON = { "username": this.credentialsForm.value.username, "password": this.credentialsForm.value.password }