streamich / nano-css

Distilled CSS-in-JS for gourmet developers
The Unlicense
427 stars 23 forks source link

fix: fixed types when skipLibCheck is set to false #262

Closed msereniti closed 7 months ago

msereniti commented 1 year ago

I want to enable strict mode in the library that uses nano-css, but due to weak typings it fails after disabling skipLibCheck (what is important for providing proper typings).

My changes in types don't make types of nano-css perfect, but now (tested with @phytonmk/nano-css) it at least doesn't break dependant library type-checking.

msereniti commented 1 year ago

@streamich, looking forward for your response and hope it will be approved, merged and released soon

streamich commented 7 months ago

I'm not sure we wany to add a bunch of any to this library.