menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Programming News

>

Here’s how...
source image

Dev

1M

read

398

img
dot

Image Credit: Dev

Here’s how you can type check your CSS properties and values.

  • CSSType can be used to type check CSS properties and values in CSS.
  • CSSType package provides autocompletion and type checking for CSS properties and values using TypeScript and Flow definitions.
  • CSSType usage was found in Inferno's codebase at specific locations like package.json, core/types.ts, and tests/styles.spec.tsx.
  • In core/types.ts, CSSType's PropertiesHyphen is imported and used as a type in the HTMLAttributes interface to handle kebab-cased CSS properties.

Read Full Article

like

23 Likes

For uninterrupted reading, download the app