-
Notifications
You must be signed in to change notification settings - Fork 502
Open
Description
It could held catch issues like #351 and #358 at build time if there was more code using the various entry points like a user.
Two ideas so it's not just extra files to maintain:
- currently the tests have inlined scripts (e.g.
onCLS). These could be moved to separate script files that are type checked (or could use whatever fancy thing you need to extract and typecheck ts code innjkfiles). Extra work: maybe need to use more properties on the returned objects than just destructure and jsonify to make sure e.g. they'restring | undefinedand notunknown. - make an
examples/directory with some of the examples from the readme moved and/or expanded there and type check the code in there. Could be useful in general, especially with the readme already quite lengthy and many visitors wanting easy copy/pastes to get started.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels