Skip to content

Commit 25ae11f

Browse files
authored
Fix TypeScript signature for iTerm.setCwd (#19)
1 parent 01aa744 commit 25ae11f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ declare const ansiEscapes: {
226226
227227
@param cwd - Current directory. Default: `process.cwd()`.
228228
*/
229-
setCwd(cwd: string): string;
229+
setCwd(cwd?: string): string;
230230

231231
/**
232232
An annotation looks like this when shown:

0 commit comments

Comments
 (0)