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

Commit fc807b9

Browse files
authored
Change type of option.details to HTMLElement
options.detail is always use as an HTMLElement and not as string.
1 parent 74bbfde commit fc807b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gitgraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@
10371037
* @param {boolean} options.arrowDisplay - Add a arrow under commit dot
10381038
* @param {string} [options.author = this.parent.author] - Author name & email
10391039
* @param {string} [options.date] - Date of commit, default is now
1040-
* @param {string} [options.detail] - DOM Element of detail part
1040+
* @param {HTMLElement} [options.detail] - DOM Element of detail part
10411041
* @param {string} [options.sha1] - Sha1, default is a random short sha1
10421042
* @param {Commit} [options.parentCommit] - Parent commit
10431043
* @param {string} [options.type = ("mergeCommit"|null)] - Type of commit

0 commit comments

Comments
 (0)