Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
20 lines
735 B
Plaintext
20 lines
735 B
Plaintext
import { MappedResult } from '../mapped/index.mjs';
|
|
import { Extends } from './extends.mjs';
|
|
import { Clone } from '../clone/value.mjs';
|
|
// prettier-ignore
|
|
function FromProperties(P, Right, True, False, options) {
|
|
const Acc = {};
|
|
for (const K2 of globalThis.Object.getOwnPropertyNames(P))
|
|
Acc[K2] = Extends(P[K2], Right, True, False, Clone(options));
|
|
return Acc;
|
|
}
|
|
// prettier-ignore
|
|
function FromMappedResult(Left, Right, True, False, options) {
|
|
return FromProperties(Left.properties, Right, True, False, options);
|
|
}
|
|
// prettier-ignore
|
|
export function ExtendsFromMappedResult(Left, Right, True, False, options) {
|
|
const P = FromMappedResult(Left, Right, True, False, options);
|
|
return MappedResult(P);
|
|
}
|