fix(nuxt): add missing script stubs (#27640)

This commit is contained in:
Julien Huang 2024-06-16 00:14:59 +02:00 committed by GitHub
parent fda6cf7838
commit a05b5343a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,9 +60,15 @@ export function useScriptGoogleTagManager (...args: unknown[]) {
export function useScriptSegment (...args: unknown[]) {
renderStubMessage('useScriptSegment')
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function useScriptFacebookPixel (...args: unknown[]) {
renderStubMessage('useScriptFacebookPixel')
export function useScriptClarity (...args: unknown[]) {
renderStubMessage('useScriptClarity')
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function useScriptMetaPixel (...args: unknown[]) {
renderStubMessage('useScriptMetaPixel')
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function useScriptXPixel (...args: unknown[]) {
@ -100,3 +106,13 @@ export function useScriptGoogleMaps (...args: unknown[]) {
export function useScriptNpm (...args: unknown[]) {
renderStubMessage('useScriptNpm')
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function useScriptGoogleAdsense (...args: unknown[]) {
renderStubMessage('useScriptGoogleAdsense')
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export function useScriptYouTubePlayer (...args: unknown[]) {
renderStubMessage('useScriptYouTubePlayer')
}