-
Notifications
You must be signed in to change notification settings - Fork 75
Closed
Description
import * as CSS from 'csstype';
const style: CSS.Properties = {
alignSelf: 'stretsh', // Type error on value
colour: 'white', // Type error on property
};
alignSelf from the frontpage does not throw an error because string is allowed:
type AlignSelfProperty = Globals | SelfPosition | "auto" | "baseline" | "normal" | "stretch" | string;
Also with the latest typescript 2.8.1 and csstype 2.2.0 and the latest VSCode I do not get any intellisense for alignSelf. Does it work for you?
Metadata
Metadata
Assignees
Labels
No labels