NC
Size: a a a
NC
NC
[{
NC
[{
{
"compilerOptions": {
//specific
"target": "es5",
"module": "CommonJS",
"moduleResolution": "node",
//static
"resolveJsonModule": true,
"allowJs": false,
"forceConsistentCasingInFileNames": true,
"rootDir": "src",
"outDir": "dist",
"declaration": false,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"pretty": true,
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}
NC
IS
const getUniqueByFieldName = (array, fieldName) => [...new Set(array.map((item) => item[fieldName]))]
;NC
IS
IS
IS
IS
IS
IS
ВА
N
N
AE
N