mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 04:53:40 +00:00
* feat(marketplace): add separate package and move some entities in it * feat(marketplace): refactor release notes and list * feat(marketplace): refactor showing a package * chore: fix install progress * chore: fix angular.json * chore: properly share stream
12 lines
307 B
TypeScript
12 lines
307 B
TypeScript
import { Directive, ElementRef, Inject } from '@angular/core'
|
|
|
|
@Directive({
|
|
selector: '[elementRef]',
|
|
exportAs: 'elementRef',
|
|
})
|
|
export class ElementDirective<T extends Element> extends ElementRef<T> {
|
|
constructor(@Inject(ElementRef) { nativeElement }: ElementRef<T>) {
|
|
super(nativeElement)
|
|
}
|
|
}
|