1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00

Bundled output for commit e45547c649

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot
2022-06-02 01:47:22 +00:00
parent e45547c649
commit 8e2a99c1eb
3 changed files with 6 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ export default class ItemList<T> {
/**
* Replaces an item's content, if the provided item key exists.
*
* If the provided `key` is not present, nothing will happen.
* If the provided `key` is not present, an error will be thrown.
*
* @param key The key of the item in the list
* @param content The item's new content
@@ -97,7 +97,7 @@ export default class ItemList<T> {
/**
* Replaces an item's priority, if the provided item key exists.
*
* If the provided `key` is not present, nothing will happen.
* If the provided `key` is not present, an error will be thrown.
*
* @param key The key of the item in the list
* @param priority The item's new priority
@@ -115,6 +115,8 @@ export default class ItemList<T> {
setPriority(key: string, priority: number): this;
/**
* Remove an item from the list.
*
* If the provided `key` is not present, nothing will happen.
*/
remove(key: string): this;
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long