mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Fixes undefined keyof type error
This commit is contained in:
Vendored
+1
-1
@@ -21,7 +21,7 @@ type CSSProperties = Omit<BaseCSSProperties, 'fontFamily' | 'transition' | 'anim
|
||||
|
||||
// For pseudo selectors and media queries
|
||||
interface OpenCSSProperties extends CSSProperties {
|
||||
[k: string]: CSSProperties[keyof CSSProperties] | CSSProperties;
|
||||
[k: string]: CSSProperties[NonNullable<keyof CSSProperties>] | CSSProperties;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user