style module: make delayed and remove property optional

PR #296
pull/240/merge
Jan van Brügge 8 years ago committed by André Staltz
parent f3a3c7b368
commit 836968509e

@ -2,8 +2,8 @@ import {VNode, VNodeData} from '../vnode';
import {Module} from './module';
export type VNodeStyle = Record<string, string> & {
delayed: Record<string, string>
remove: Record<string, string>
delayed?: Record<string, string>
remove?: Record<string, string>
}
var raf = (typeof window !== 'undefined' && window.requestAnimationFrame) || setTimeout;

Loading…
Cancel
Save