add initial cut for a quick and dirty TypeScript type definition