You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
createSourceFile(filePath: string): SourceFile; -- Sometimes it's nice to just create an empty source file.
Change:
getOrAddSourceFile(filePath: string): SourceFile; -> addExistingSourceFile(filePath: string): SourceFile; - Should say "existing" to make it clear that this is an existing source file from the disk.
addSourceFiles(...fileGlobs: string[]): void -> addExistingSourceFiles(...fileGlobs: string[]): SourceFile[] -- Return the source files that matched
Add:
createSourceFile(filePath: string): SourceFile;
-- Sometimes it's nice to just create an empty source file.Change:
getOrAddSourceFile(filePath: string): SourceFile;
->addExistingSourceFile(filePath: string): SourceFile;
- Should say "existing" to make it clear that this is an existing source file from the disk.addSourceFiles(...fileGlobs: string[]): void
->addExistingSourceFiles(...fileGlobs: string[]): SourceFile[]
-- Return the source files that matchedaddSourceFileFromText(filePath: string, sourceFileText: string): SourceFile;
->createSourceFile(filePath: string, sourceFileText: string): SourceFile;
addSourceFileFromStructure(filePath: string, structure: SourceFileStructure): SourceFile;
->createSourceFile(filePath: string, structure: SourceFileStructure): SourceFile;
The text was updated successfully, but these errors were encountered: