diff --git a/docs/setup/adding-source-files.md b/docs/setup/adding-source-files.md index 2c152b55e..d695e36df 100644 --- a/docs/setup/adding-source-files.md +++ b/docs/setup/adding-source-files.md @@ -57,7 +57,7 @@ project.addSourceFilesFromTsConfig("dir2/tsconfig.json"); project.addExistingSourceFiles("dir3/**/*{.d.ts,.ts}"); // optionally call this when complete to resolve and -// add the depenent source files to the project +// add the dependent source files to the project project.resolveSourceFileDependencies(); ```