Add basic typescript support (#143)