sharec-schema
Version:
Utilities for configuration files merge
20 lines (19 loc) • 479 B
TypeScript
export = listConcatAtom
/**
* @typedef {import('../').SchemaParams<string[]>} SchemaListParams
*/
/**
* Creates list of unique values from lists-params
* @param {SchemaListParams} params
* @returns {string[]}
*/
declare function listConcatAtom({ current, upcoming }: SchemaListParams): string[]
declare namespace listConcatAtom {
export { SchemaListParams }
}
type SchemaListParams = {
current?: string[]
upcoming?: string[]
cached?: string[]
result?: string[]
}