File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -150,10 +150,10 @@ function element(node, schema) {
150150
151151 /**
152152 * @param {string } name
153- * @param {Object. <string, string|boolean|number> } attrs
153+ * @param {Record <string, string|boolean|number> } attrs
154154 */
155155 function h ( name , attrs ) {
156- /** @type {Array. <P5Attribute> } */
156+ /** @type {Array<P5Attribute> } */
157157 const values = [ ]
158158 /** @type {string } */
159159 let key
@@ -218,14 +218,14 @@ function element(node, schema) {
218218}
219219
220220/**
221- * @param {Array. <Child> } children
221+ * @param {Array<Child> } children
222222 * @param {P5Parent } p5
223223 * @param {Schema } schema
224- * @returns {Array. <P5Child> }
224+ * @returns {Array<P5Child> }
225225 */
226226function all ( children , p5 , schema ) {
227227 let index = - 1
228- /** @type {Array. <P5Child> } */
228+ /** @type {Array<P5Child> } */
229229 const result = [ ]
230230
231231 if ( children ) {
You can’t perform that action at this time.
0 commit comments