Skip to content

Instantly share code, notes, and snippets.

@jsoneaday

jsoneaday/unknown type Secret

Created Feb 8, 2020
Embed
What would you like to do?
let val: unknown = 22;
val = "hello";
val = new Array();
val.myNonExistantFunction();
console.log(val);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment