mirror of
https://codeberg.org/actions/setup-node.git
synced 2023-07-31 13:16:24 +00:00
78148dae50
* Updates * Update * Update * Update * Update * Yarn sometimes prefers npmrc, so use same token * Description * Update readme * Feedback * Add type * new toolkit and scoped registries * npmrc in RUNNER_TEMP * Dont always auth * Try exporting blank token * Get auth working for now pending runner changes * Fix string interpolation for auth token. * Don't export both userconfigs * Update authutil.js * Add single quotes for authString * Fix the registry string. * Use userconfig and append trailing slash * Keep in root of repo * Try just adding auth token * Remove auth token * Try changes again * Add tests * Npm and GPR samples * Add types
17 lines
652 B
TypeScript
17 lines
652 B
TypeScript
declare function deepmerge<T>(x: Partial<T>, y: Partial<T>, options?: deepmerge.Options): T;
|
|
declare function deepmerge<T1, T2>(x: Partial<T1>, y: Partial<T2>, options?: deepmerge.Options): T1 & T2;
|
|
|
|
declare namespace deepmerge {
|
|
export interface Options {
|
|
arrayMerge?(target: any[], source: any[], options?: Options): any[];
|
|
clone?: boolean;
|
|
customMerge?: (key: string, options?: Options) => ((x: any, y: any) => any) | undefined;
|
|
isMergeableObject?(value: object): boolean;
|
|
}
|
|
|
|
export function all (objects: object[], options?: Options): object;
|
|
export function all<T> (objects: Partial<T>[], options?: Options): T;
|
|
}
|
|
|
|
export = deepmerge;
|