Skip to content

Commit 625f3fd

Browse files
committed
fix: Fixes to README.md
1 parent 0c7f391 commit 625f3fd

File tree

1 file changed

+9
-43
lines changed

1 file changed

+9
-43
lines changed

README.md

Lines changed: 9 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ Two PTY implementations:
233233
Configure resource behavior via `ResourceSettings<T>`:
234234

235235
```typescript
236-
getSettings()
237-
:
238-
ResourceSettings < MyConfig > {
236+
getSettings(): ResourceSettings<MyConfig> {
239237
return {
240238
// Required: unique type identifier
241239
id: 'my-resource',
@@ -338,52 +336,20 @@ ResourceSettings < MyConfig > {
338336

339337
```typescript
340338
// PTY access
341-
getPty()
342-
:
343-
IPty
339+
getPty(): IPty
344340

345341
// Path utilities
346-
tildify(absolutePath
347-
:
348-
string
349-
):
350-
string
351-
untildify(pathWithTilde
352-
:
353-
string
354-
):
355-
string
356-
resolvePathWithVariables(path
357-
:
358-
string
359-
):
360-
string
361-
addVariablesToPath(absolutePath
362-
:
363-
string
364-
):
365-
string
342+
tildify(absolutePath: string): string
343+
untildify(pathWithTilde: string): string
344+
resolvePathWithVariables(path: string): string
345+
addVariablesToPath(absolutePath: string): string
366346

367347
// File utilities
368-
fileExists(path
369-
:
370-
string
371-
):
372-
Promise<boolean>
373-
directoryExists(path
374-
:
375-
string
376-
):
377-
Promise<boolean>
348+
fileExists(path: string): Promise<boolean>
349+
directoryExists(path: string): Promise<boolean>
378350

379351
// Array utilities
380-
areArraysEqual<T>(a
381-
:
382-
T[], b
383-
:
384-
T[], isEqual ? : (a: T, b: T) => boolean
385-
):
386-
boolean
352+
areArraysEqual<T>(a: T[], b: T[], isEqual?: (a: T, b: T) => boolean): boolean
387353
```
388354

389355
## Building Plugins

0 commit comments

Comments
 (0)