I
2. Я бы перенес эту логику в subscribe, то есть
this.distinctType = new Set(...)this.components$.subscribe(
items => this.distinctType = new Set([items.map(item => item.componentType)])
)
Size: a a a
I
this.distinctType = new Set(...)this.components$.subscribe(
items => this.distinctType = new Set([items.map(item => item.componentType)])
)
S
this.components$.subscribe(
items => this.distinctType = new Set([items.map(item => item.componentType)])
)
[...items.map(...)]RY
distinctComponentType(): any{
this.components$.pipe(
map(items => new Set([items.map(item => item.componentType)]))
).subscribe(data => this.distinctType = data as Set<string[]>);
}I
[...items.map(...)]S
Y
proxy.conf.jsonRY
Y
Y
Y
Y
Y
AD
package.json указать версию ноды на которой происходит сборка проекта? Или просто в README написать версию ноды?AD
engines там есть. Туда можно версию ноды писать.d
engines там есть. Туда можно версию ноды писать.d
AD
d
AA
🧤K