Skip to content

Instantly share code, notes, and snippets.

@akaptur
Created December 14, 2021 01:05
Show Gist options
  • Save akaptur/ea2198eac49b0888f10d1c64fc275b65 to your computer and use it in GitHub Desktop.
Save akaptur/ea2198eac49b0888f10d1c64fc275b65 to your computer and use it in GitHub Desktop.
const val = {value: "hi", kind: "a" as const, image: "a gzipped photo of a cat"}
my_func(val); // no error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment