Skip to content

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

Closed
@P00HB33R

Description

@P00HB33R

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions