I investigated figuring this part out. Theoretically you could build a postcss plugin that generates the proper typescript types. It would be difficult.
Giving up the myriad benefits of type-safe code over this relatively minor and entirely subjective coding style preference will be a poor engineering decision.