UNPKG

snabbdom

Version:

A virtual DOM library with focus on simplicity, modularity, powerful features and performance.

15 lines (14 loc) 400 B
import { Module } from "./module.js"; type ElementStyle = { [K in keyof CSSStyleDeclaration]?: string; }; interface InnerStyle extends ElementStyle { [K: string]: string | undefined; } export interface VNodeStyle extends ElementStyle { delayed?: InnerStyle; remove?: InnerStyle; [K: string]: InnerStyle | string | undefined; } export declare const styleModule: Module; export {};