Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 7a7256d

Browse files
committed
fix entries type thingy in README
1 parent fee425e commit 7a7256d

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -259,10 +259,10 @@ new PasteStore(client, entries)
259259
```
260260

261261
#### Parameters
262-
| name | description | type | default |
263-
|-----------------|---------------------------------|----------------------|---------|
264-
| client | The client the store belongs to | PastebinClient | |
265-
| entries | | Array<string, Paste> | `null` |
262+
| name | description | type | default |
263+
|-----------------|---------------------------------|-----------------------------|---------|
264+
| client | The client the store belongs to | PastebinClient | |
265+
| entries | | Array<Array<string, Paste>> | `null` |
266266

267267
### client
268268
The client this store belongs to.
@@ -283,14 +283,14 @@ Fetch a paste by its key, and store it in the cache.
283283
Create a paste, and store it in the cache.
284284

285285
#### Parameters
286-
| name | description | type | default |
287-
|-----------------|-----------------------------|----------------------|---------|
288-
| content | The paste's content | any | |
289-
| options | | Array<string, Paste> | `null` |
290-
| options.title | The paste's title | string | `{}` |
291-
| options.format | The paste's format | string | `null` |
292-
| options.privacy | The paste's privacy setting | number | `null` |
293-
| options.expiry | The paste's expiry time | string | `null` |
286+
| name | description | type | default |
287+
|-----------------|-----------------------------|-----------------------------|---------|
288+
| content | The paste's content | any | |
289+
| options | | Array<Array<string, Paste>> | `null` |
290+
| options.title | The paste's title | string | `{}` |
291+
| options.format | The paste's format | string | `null` |
292+
| options.privacy | The paste's privacy setting | number | `null` |
293+
| options.expiry | The paste's expiry time | string | `null` |
294294

295295
#### Returns
296296
**[Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Paste](#Paste)>**
@@ -304,10 +304,10 @@ new UserStore(client, entries)
304304
```
305305

306306
#### Paramaters
307-
| name | description | type | default |
308-
|---------|---------------------------------|----------------------|---------|
309-
| client | The client the store belongs to | PastebinClient | |
310-
| entries | | Array<string, Paste> | `null` |
307+
| name | description | type | default |
308+
|---------|---------------------------------|-----------------------------|---------|
309+
| client | The client the store belongs to | PastebinClient | |
310+
| entries | | Array<Array<string, Paste>> | `null` |
311311

312312
### client
313313
The client this store belongs to.
@@ -333,11 +333,11 @@ new UserPasteStore()
333333
```
334334

335335
#### Parameters
336-
| name | description | type | default |
337-
|---------|---------------------------------|----------------------|---------|
338-
| client | The client the store belongs to | PastebinClient | |
339-
| user | The user the store belongs to | User | |
340-
| entries | | Array<string, Paste> | `null` |
336+
| name | description | type | default |
337+
|---------|---------------------------------|-----------------------------|---------|
338+
| client | The client the store belongs to | PastebinClient | |
339+
| user | The user the store belongs to | User | |
340+
| entries | | Array<Array<string, Paste>> | `null` |
341341

342342
### client
343343
The client this store belongs to.

0 commit comments

Comments
 (0)