Clarify internal attrs type parameters #80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ocavue/attrs-types"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This tiny PR improves some types for internal function, and also fixes an
Argument of type 'MarkType' is not assignable to parameter of type 'never'.ts(2345)typescript error. It doesn't affect the external API (i.e..d.tsfiles).It's weird how TypeScript behavior for inference of array types keeps changing (TS 5.3.3 is fine with the array in
gatherMarks). But these look reasonable — merging.