Skip to content
Discussion options

You must be logged in to vote

since it's a typings issue, you could assert the type like this:

import { style, ComplexStyleRule } from '@vanilla-extract/css'

const unsupportedStyleProperty = style({
    size: 60,
    WebkitAppRegion: 'no-drag',
    orAnyCustomProp: 'vanilla-extract'
} as ComplexStyleRule)

note that currently, VE is using CSSType for its CSS type definition.

Hopefully, they'll support new CSS property like size ASAP, or you could open a PR for it.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@JesalR
Comment options

Answer selected by JesalR
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants