Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type is not assignable to type, and invalid prop... #174

Open
leosin opened this issue Feb 5, 2023 · 3 comments
Open

Type is not assignable to type, and invalid prop... #174

leosin opened this issue Feb 5, 2023 · 3 comments

Comments

@leosin
Copy link

leosin commented Feb 5, 2023



image
image

  googleAdsense: {
    // onPageLoad: false,
    // pageLevelAds: false,
  },

  runtimeConfig: {
    apiSecret: '',
    public: {
      apiBase: '',
    },
    googleAdsense: {
      id: process.env.GOOGLE_ADSENSE_ID,
      test: process.env.GOOGLE_ADSENSE_TEST_MODE === 'true',
    },
  },

Does anyone know how to solve this error message

@TheAlexLichter
Copy link
Collaborator

I suppose the Nuxt 3 component would need a rewrite in <script setup>. PR welcome.

@JenuelDev
Copy link

any update on this? I am also using typescript

@TheAlexLichter
Copy link
Collaborator

any update on this? I am also using typescript

PR welcome 👍🏻
Should not be too difficult so I'd like to leave that opportunity for contributors ☺️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants