Skip to content

Instantly share code, notes, and snippets.

@jbmilgrom
Last active August 18, 2019 15:25
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 jbmilgrom/60c0d35487adb928ca67c5235dcfeca3 to your computer and use it in GitHub Desktop.
Save jbmilgrom/60c0d35487adb928ca67c5235dcfeca3 to your computer and use it in GitHub Desktop.
Example of arbitrary immutable data
const profiles = [
{
lastName: "Curry",
firstName: "Steph",
team: "WARRIORS"
},
{
lastName: "James",
firstName: "Lebron",
team: "LAKERS",
},
{
lastName: "Anthony",
firstName: "Davis",
team: "LAKERS",
}
] as const;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment