Update your settings.json with the code below, then restart vscode:
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
// Custom Cypress No-Motion helper | |
// | |
// To reduce flakiness in Cypress tests caused by motion, | |
// force disable all CSS transitions and animations. | |
// | |
// revised: 2023-03-15 | |
// credits: @ypresto | |
function disableMotion(win) { | |
const injectedStyleEl = win.document.getElementById('__cy_disable_motion__'); |
Angular CLI version | Angular version | Node.js version | TypeScript version | RxJS version | |
---|---|---|---|---|---|
~16.0.0 | ~16.0.0 | ^16.13.0 || ^18.10.0 | >=4.9.5 <5.1.0 | ^6.5.5 || ^7.4.0 | |
~15.2.0 | ~15.2.0 | ^14.20.0 || ^16.13.0 || ^18.10.0 | >=4.8.4 <5.0.0 | ^6.5.5 || ^7.4.0 | |
~15.1.0 | ~15.1.0 | ^14.20.0 || ^16.13.0 || ^18.10.0 | >=4.8.4 <5.0.0 | ^6.5.5 || ^7.4.0 | |
~15.0.5 | ~15.0.4 | ^14.20.0 || ^16.13.0 || ^18.10.0 | ~4.8.4 | ^6.5.5 || ^7.4.0 | |
~14.3.0 | ~14.3.0 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.9.0 | ^6.5.5 || ^7.4.0 | |
~14.2.0 | ~14.2.0 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.9.0 | ^6.5.5 || ^7.4.0 | |
~14.1.3 | ~14.1.3 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.8.0 | ^6.5.5 || ^7.4.0 | |
~14.0.7 | ~14.0.7 | ^14.15.0 || ^16.10.0 | >=4.6.4 <4.8.0 | ^6.5.5 || ^7.4.0 | |
~13.3.0 | ~13.3.0 | ^12.20.2 || ^14.15.0 || ^16.10.0 | >=4.4.4 <4.7.0 | ^6.5.5 || ^7.4.0 |
#!/bin/sh | |
# this goes into /etc/initramfs-tools/scripts/init-premount/a_enable_wireless | |
PREREQ="" | |
prereqs() | |
{ | |
echo "$PREREQ" | |
} | |
case $1 in | |
prereqs) |
import {Component, EventEmitter, Type} from '@angular/core'; | |
type MetadataName = 'Input' | 'Output'; | |
interface PropDecoratorFactory { | |
ngMetadataName: MetadataName; | |
bindingPropertyName: string | undefined; | |
} | |
interface PropMetadata { [key: string]: PropDecoratorFactory[]; } |
import { EntityAdapter, EntityState } from '@ngrx/entity'; | |
import { ActionReducer } from '@ngrx/store'; | |
import { CommandReducer, ReducerCommand } from 'ngrx-command-reducer'; | |
import { BaseAction, StaticAction } from './base.actions'; | |
type PayloadActionFunction<S, P> = (p: P, s: S) => S; | |
type PayloadlessActionFunction<S> = (s: S) => S; | |
export type EntityFunction<S, P> = PayloadActionFunction<S, P> | PayloadlessActionFunction<S>; | |
export class EntityCommandReducer<Entity, State extends EntityState<Entity>, Action extends BaseAction> { |
@Injectable() | |
export class NgrxStoreService { | |
ondestroy$: Observable<void> = new Subject<void>(); | |
constructor(protected store: Store<State>, protected changeDetector: ChangeDetectorRef) { } | |
select<R>(mapFunc: (state: State) => R): Observable<R> { | |
return this.store.select(mapFunc).pipe( | |
takeUntil(this.ondestroy$), |