mirror of
				https://github.com/strapi/strapi.git
				synced 2025-10-31 09:56:44 +00:00 
			
		
		
		
	Fix return type def
This commit is contained in:
		
							parent
							
								
									bf9c618a83
								
							
						
					
					
						commit
						a7eb9c81e6
					
				| @ -13,7 +13,7 @@ const DEFAULT_TS_CONFIG_FILENAME = 'tsconfig.json'; | |||||||
|  * @param {string} [options.filename] |  * @param {string} [options.filename] | ||||||
|  * @param {boolean} [options.ancestorsLookup] |  * @param {boolean} [options.ancestorsLookup] | ||||||
|  * |  * | ||||||
|  * @return {string} |  * @return {string | undefined} | ||||||
|  */ |  */ | ||||||
| module.exports = (dir, { filename = DEFAULT_TS_CONFIG_FILENAME, ancestorsLookup = false } = {}) => { | module.exports = (dir, { filename = DEFAULT_TS_CONFIG_FILENAME, ancestorsLookup = false } = {}) => { | ||||||
|   const dirAbsolutePath = path.resolve(dir); |   const dirAbsolutePath = path.resolve(dir); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Convly
						Convly