mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-21 12:45:50 +00:00
update Issue type
This commit is contained in:
@@ -41,7 +41,7 @@ class Issue extends SerializedType {
|
|||||||
* representing an integer amount
|
* representing an integer amount
|
||||||
* @returns An Amount object
|
* @returns An Amount object
|
||||||
*/
|
*/
|
||||||
static from<T extends Issue | IssueObject | string>(value: T): Issue {
|
static from<T extends Issue | IssueObject>(value: T): Issue {
|
||||||
if (value instanceof Issue) {
|
if (value instanceof Issue) {
|
||||||
return value
|
return value
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user