Skip to content

Instantly share code, notes, and snippets.

@jasonbyrne
Created January 16, 2022 18:01
Show Gist options
  • Save jasonbyrne/3228931ad2db1d4f245fa48ba44e69e8 to your computer and use it in GitHub Desktop.
Save jasonbyrne/3228931ad2db1d4f245fa48ba44e69e8 to your computer and use it in GitHub Desktop.
String Value Wrapper
class WrappedValue {
constructor(
public name: string,
public value: string
) {}
}
const data: WrappedValue[] = [
new WrappedValue("First Name", "Jason"),
new WrappedValue("Last Name", "Byrne")
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment