import { QWidget , NodeWidget } from '@nodegui/nodegui' ; import { VNWidget } from 'widgets/config' ; internal export class VNMetaWidget extends QWidget implements VNWidget < { } > { constructor ( ) { super ( ) ; this . setFixedSize ( 0 , 0 ) ; } insertChild ( ) { throw new Error ( 'cannot add child to meta widgets' ) ; } patchProp ( ) { throw new Error ( 'cannot add props to meta widgets' ) ; } removeChild ( ) { throw new Error ( 'cannot add props to meta widgets' ) ; } insertBefore ( ) { throw new Error ( 'Cannot add child to meta widgets' ) ; } getNextSibling ( ) { throw new Error ( 'meta widget cannot have children' ) ; } }