Skip to content

Instantly share code, notes, and snippets.

@spion
Last active August 29, 2015 14:26
Show Gist options
  • Save spion/65e1f98b168be67daefe to your computer and use it in GitHub Desktop.
Save spion/65e1f98b168be67daefe to your computer and use it in GitHub Desktop.
replacement "Void" type for TS
class Void {
private "constructor": Void;
private toString() {}
private toLocaleString() {}
private valueOf() {}
private hasOwnProperty(v: string) {}
private isPrototypeOf(v: Object) {}
private propertyIsEnumerable(v: string) {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment