Created
January 16, 2022 18:01
-
-
Save jasonbyrne/3228931ad2db1d4f245fa48ba44e69e8 to your computer and use it in GitHub Desktop.
String Value Wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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