Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit a4f1b25

Browse files
committed
Update docs
1 parent 01ab432 commit a4f1b25

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/Node/FS/Aff.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Rename a file.
1313
#### `truncate`
1414

1515
``` purescript
16-
truncate :: forall eff. FilePath -> Number -> Aff (fs :: FS | eff) Unit
16+
truncate :: forall eff. FilePath -> Int -> Aff (fs :: FS | eff) Unit
1717
```
1818

1919

@@ -23,7 +23,7 @@ Truncates a file to the specified length.
2323
#### `chown`
2424

2525
``` purescript
26-
chown :: forall eff. FilePath -> Number -> Number -> Aff (fs :: FS | eff) Unit
26+
chown :: forall eff. FilePath -> Int -> Int -> Aff (fs :: FS | eff) Unit
2727
```
2828

2929

@@ -164,7 +164,7 @@ Sets the accessed and modified times for the specified file.
164164
#### `readFile`
165165

166166
``` purescript
167-
readFile :: forall eff. FilePath -> Aff (fs :: FS | eff) Buffer
167+
readFile :: forall eff. FilePath -> Aff (fs :: FS, buffer :: BUFFER | eff) Buffer
168168
```
169169

170170

@@ -184,7 +184,7 @@ Reads the entire contents of a text file with the specified encoding.
184184
#### `writeFile`
185185

186186
``` purescript
187-
writeFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS | eff) Unit
187+
writeFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS, buffer :: BUFFER | eff) Unit
188188
```
189189

190190

@@ -204,7 +204,7 @@ Writes text to a file using the specified encoding.
204204
#### `appendFile`
205205

206206
``` purescript
207-
appendFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS | eff) Unit
207+
appendFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS, buffer :: BUFFER | eff) Unit
208208
```
209209

210210

0 commit comments

Comments
 (0)