You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
@isiahmeadows, @andraaspar I've added the branch ts2.4 to experiment with solutions. Running npm i will install TS2.4.
I've added @andraaspar's most recent updates currently in PR at DT. (Failing tests commented out because I haven't setup DT's linting system for this repo.)
This branch also contains default generic parameters that I'd like to submit in a followup PR. (See here for example.)
Currently the Lifecycle type has an additional member to get around the new "weak types" checking feature in TS2.4. This leaves us with slightly weaker component types. Using a numeric key improves the situation but it's not quite perfect. (You could write component[0].)
There is also this outstanding problem with ClassComponent: #21
The text was updated successfully, but these errors were encountered:
@spacejack Would it be better if we just unified component instances like below and then just inlined Lifecycle's members into the component and attrs types? It'd also fix #21 by side effect.
@isiahmeadows, @andraaspar I've added the branch
ts2.4
to experiment with solutions. Runningnpm i
will install TS2.4.I've added @andraaspar's most recent updates currently in PR at DT. (Failing tests commented out because I haven't setup DT's linting system for this repo.)
This branch also contains default generic parameters that I'd like to submit in a followup PR. (See here for example.)
Currently the
Lifecycle
type has an additional member to get around the new "weak types" checking feature in TS2.4. This leaves us with slightly weaker component types. Using a numeric key improves the situation but it's not quite perfect. (You could writecomponent[0]
.)There is also this outstanding problem with
ClassComponent
: #21The text was updated successfully, but these errors were encountered: