Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101469471
sanitizeConfig.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 10, 18:35
Size
354 B
Mime Type
text/x-java
Expires
Wed, Feb 12, 18:35 (2 d)
Engine
blob
Format
Raw Data
Handle
24170077
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
sanitizeConfig.d.ts
View Options
import { ConfigSchemaOptions } from '../schemas/config';
/**
* Validates and normalizes config.
*
* @param {object} config
* @param {object} schema
* @param {string} rootDir
* @return {object}
*/
export default function sanitizeConfig<T extends Record<string, any>>(config: T, schema: Record<keyof T, ConfigSchemaOptions<T>>, rootDir: string): T;
Event Timeline
Log In to Comment