@ts-morph/common
Advanced tools
Comparing version 0.12.0 to 0.12.1
@@ -509,5 +509,9 @@ import * as ts from "./typescript"; | ||
copySync(srcPath: string, destPath: string): void; | ||
/** Asynchronously checks if a file exists. */ | ||
/** Asynchronously checks if a file exists. | ||
* @remarks Implementers should throw an `errors.FileNotFoundError` when it does not exist. | ||
*/ | ||
fileExists(filePath: string): Promise<boolean>; | ||
/** Synchronously checks if a file exists. */ | ||
/** Synchronously checks if a file exists. | ||
* @remarks Implementers should throw an `errors.FileNotFoundError` when it does not exist. | ||
*/ | ||
fileExistsSync(filePath: string): boolean; | ||
@@ -803,3 +807,5 @@ /** Asynchronously checks if a directory exists. */ | ||
directoryExistsSync(dirPath: StandardizedFilePath): boolean; | ||
readFileIfExistsSync(filePath: StandardizedFilePath, encoding: string | undefined): string | undefined; | ||
readFileSync(filePath: StandardizedFilePath, encoding: string | undefined): string; | ||
readFileIfExists(filePath: StandardizedFilePath, encoding: string | undefined): Promise<string | undefined>; | ||
readFile(filePath: StandardizedFilePath, encoding: string | undefined): Promise<string>; | ||
@@ -806,0 +812,0 @@ private _verifyCanReadFile; |
{ | ||
"name": "@ts-morph/common", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Common functionality for ts-morph packages.", | ||
@@ -5,0 +5,0 @@ "main": "dist/ts-morph-common.js", |
Sorry, the diff of this file is too big to display
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
11382647
15766