UNPKG

@lcap/builder

Version:
25 lines (21 loc) 581 B
/// <reference types="@nasl/types" /> namespace extensions.{{pkgName}}.viewComponents { const { Component, Prop, ViewComponent, Slot, Method, Param, Event, ViewComponentOptions } = nasl.ui; @ExtensionComponent({ type: '{{type}}', ideusage: { idetype: 'element', } }) @Component({ title: '{{title}}', description: '{{description}}', }) export class {{compName}} extends ViewComponent { constructor(options?: Partial<{{compName}}Options>) { super(); } } export class {{compName}}Options extends ViewComponentOptions { } }