Skip to content

Instantly share code, notes, and snippets.

@jtenner
Created May 22, 2019 17:58
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 jtenner/5c99729e0ba7ebc47fbfa30bc9a2017f to your computer and use it in GitHub Desktop.
Save jtenner/5c99729e0ba7ebc47fbfa30bc9a2017f to your computer and use it in GitHub Desktop.
class Bar {}
describe("Foo", (): void => {
log<string>("Some string value");
log<i32>(42); // all number types are supported
log<Bar>(new Bar()); // displays the raw bytes in the console
log<Bar>(null); // null reference
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment