[ts] conflicting font types
See original GitHub issueuPlot.Axis
currently defines:
font?: CanvasRenderingContext2D['font'];
labelFont?: CanvasRenderingContext2D['font'];
While true for values passed into constructor, various callbacks actually need to deal with values processed by pxRatioFont()
, which, it seems, actually has (non-null? not sure about that) return type [string, number, number]
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Conflicts between typings exposed globally #22331 - GitHub
The issue here is caused by the declaration files defining the same global functions. this can be remedied by either 1. both defining...
Read more >Typography: Concordant, Contrasting & Conflicting! - SitePoint
Within the Times New Roman typeface there are several styles, namely Regular (Roman), Italic, Bold and Bold Italic. The heading is larger and ......
Read more >Typescript conflict between "module/index.d.ts" and "@types ...
I tried all combinations and I so far I see "node_modules/{module}/{module}.d.ts" always takes priority over "node_modules/@types/{module}/index ...
Read more >The Dos and Don'ts of Pairing Typefaces
The six typeface classifications — serif, sans-serif, slab-serif, script, display, and monospaced — are pictured to represent headline and body- ...
Read more >How to Combine Fonts, How Not To, and the Best Font ...
Using the same style of fonts can create conflict in the design. ... These 10 do's and don'ts are a few pointers that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I unfortunately do not have the time/motivation for this right now. I can provide technical support (ie. answers to “how do I make the type system do this?” questions) if anyone else wants to take on the job, though. (the type-transformers above should be enough to get started)
before committing to this route, i’d like to see an initial scaffold PR for what this might look like; don’t bother doing the entire typings file, but a decent amount of it that covers different cases, including multi-level nested computed types. if it looks reasonable enough to maintain, then we can go ahead.