Created
December 3, 2015 18:30
-
-
Save lightsofapollo/2393fb50d4937a6ce1c7 to your computer and use it in GitHub Desktop.
This file contains 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
type BlobUploadInput = { | |
stuff: string; | |
}; | |
class BlobUpload { | |
stuff: string; | |
constructor(obj: BlobUploadInput) { | |
Object.assign(this, obj); | |
} | |
} | |
console.log(new BlobUpload({ | |
stuff: 1 | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment