-
-
Couldn't load subscription status.
- Fork 4.7k
Closed
Description
Describe the problem
Title says all. Reactive implementation of Date and Set doesn't have any type declarations.
Describe the proposed solution
i made workaround for my project like this in app.d.ts since they have basically same interface on the surface.
class NativeSet<T> extends Set<T> {}
class NativeDate extends Date {}
declare module 'svelte/reactivity' {
class Set<T> extends NativeSet<T> {}
class Date extends NativeDate {}
}Importance
would make my life easier
MikeMcDonald83
Metadata
Metadata
Assignees
Labels
No labels