devstark-com / vue-google-charts

Reactive Vue.js wrapper for Google Charts lib
446 stars 73 forks source link

TypeScript Error #233

Open sn0rcha opened 1 year ago

sn0rcha commented 1 year ago

Vue 3 Composition API

When creating a chart with options:

const chartOptions = {title:'Testing}

A TS error shows:

image

If I specify:

const chartOptions = {chart:{title:'Testing'}}

The error goes away, but the options are ignored.

Any way to fix?