2020-11-26 23:03:28 -09:00
|
|
|
declare module "css-shorthand-properties" {
|
2023-01-03 03:31:24 -09:00
|
|
|
const cssShortHand: {
|
2020-11-26 23:03:28 -09:00
|
|
|
/**
|
|
|
|
|
* Returns a boolean indicating if a CSS property is a shorthand.
|
|
|
|
|
*/
|
|
|
|
|
isShorthand: (property: string) => boolean
|
|
|
|
|
/**
|
|
|
|
|
* Takes a CSS shorthand property and returns a list of longhand properties.
|
|
|
|
|
*/
|
2023-01-03 03:31:24 -09:00
|
|
|
expand: (property: string, recurse?: boolean) => string[]
|
2020-11-26 23:03:28 -09:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export = cssShortHand
|
|
|
|
|
}
|