@file-services/types
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -41,5 +41,5 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
* | ||
* @returns absolute path of first found file, or `null` if none found. | ||
* @returns absolute path of first found file, or `undefined` if none found. | ||
*/ | ||
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | null>; | ||
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | undefined>; | ||
/** | ||
@@ -46,0 +46,0 @@ * Search for a specific file name in parent chain. |
@@ -38,5 +38,5 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
* | ||
* @returns absolute path of first found file, or `null` if none found. | ||
* @returns absolute path of first found file, or `undefined` if none found. | ||
*/ | ||
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | null; | ||
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | undefined; | ||
/** | ||
@@ -43,0 +43,0 @@ * Search for a specific file name in parent directory chain. |
{ | ||
"name": "@file-services/types", | ||
"description": "Common file system interfaces", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "cjs/index.js", | ||
@@ -24,3 +24,3 @@ "types": "cjs/index.d.ts", | ||
"sideEffects": false, | ||
"gitHead": "1a5d5c8e7ab35d213ba47fe0585ec5887df08d7c" | ||
"gitHead": "fc4bf2d1f67151dfd6357fcda60bc0c43f6a10d6" | ||
} |
@@ -47,5 +47,5 @@ import { IDirectoryContents, IWalkOptions, BufferEncoding } from './common-fs-types'; | ||
* | ||
* @returns absolute path of first found file, or `null` if none found. | ||
* @returns absolute path of first found file, or `undefined` if none found. | ||
*/ | ||
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | null>; | ||
findClosestFile(initialDirectoryPath: string, fileName: string): Promise<string | undefined>; | ||
@@ -52,0 +52,0 @@ /** |
@@ -43,5 +43,5 @@ import { IWalkOptions, IDirectoryContents, BufferEncoding } from './common-fs-types'; | ||
* | ||
* @returns absolute path of first found file, or `null` if none found. | ||
* @returns absolute path of first found file, or `undefined` if none found. | ||
*/ | ||
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | null; | ||
findClosestFileSync(initialDirectoryPath: string, fileName: string): string | undefined; | ||
@@ -48,0 +48,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
66466