preline icon indicating copy to clipboard operation
preline copied to clipboard

Sveltekit Error : Property 'HSStaticMethods' does not exist on type 'Window & typeof globalThis'

Open P00HB33R opened this issue 1 year ago • 0 comments

Summary

Getting the error "Property 'HSStaticMethods' does not exist on type 'Window & typeof globalThis'" when adding the afterNavigate function as per documentation for sveltekit

Steps to Reproduce

  1. Create new sveltekit project as per docs.
  2. Add afterNavigate function HSStatic

Demo Link

Expected Behavior

There should be no error

Actual Behavior

Property 'HSStaticMethods' does not exist on type 'Window & typeof globalThis'

Screenshots

No response

P00HB33R avatar Jul 01 '24 07:07 P00HB33R