[Vue.js] D3, Vue, and Typescript how to fix common errors for Expected 1 arguments, but got 0 and "Object is possibly 'null'