

npx --yes sass-migrator division **/*.scss
to fix the /
divisionsABSTRACTION | |
ACCENT | |
ACCESSIBILITY | |
ACTIVATION | |
ADDRESS | |
AGENT | |
AGILE | |
AJAX | |
ALGORITHM | |
ALIGNMENT |
const wololo: (string | number)[] = | |
['x', 42, null, undefined, 'foo'] | |
.filter(<T>(item: T | null | undefined): item is T => !!item); |
@Component({ | |
selector: 'app-articles-list', | |
templateUrl: './articles-list.component.html', | |
styleUrls: ['./articles-list.component.scss'], | |
}) | |
export class ArticlesListComponent implements OnDestroy { | |
readonly defaultPageSize = 6; | |
private readonly unsubscribe$ = new Subject<void>(); |
import { Directive, Input, TemplateRef, ViewContainerRef } from '@angular/core'; | |
/** | |
* This interface represents context of the directive. | |
* | |
* It defines two properties ($implicit and viLet) which enables same behavior with different syntax. | |
* It is not required to have both, it is just a way to provide support for both syntax. | |
*/ | |
interface LetContext<T extends { [key: string]: unknown }> { | |
/** |
@Component({ | |
selector: 'app-root', | |
template: ` | |
<h1>mouse</h1> | |
<p | |
*viLet="{ | |
click: mouseClick$ | async, | |
move: mouseMove$ | async, | |
interval: interval$ | async, | |
} as mouse" |
Ctrl
+ Shift
+ D
Ctrl
+ K
(path combine), then Ctrl
+ J
(dynamic offset)https://inkscape.org/forums/questions/text-as-a-vector-drawing/