Explorar el Código

fix: typo in jsdoc @template example PR1071

zhongsp hace 4 años
padre
commit
50901ca411
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      doc/handbook/Type Checking JavaScript Files.md

+ 1 - 1
doc/handbook/Type Checking JavaScript Files.md

@@ -595,7 +595,7 @@ const ok = s => !(s.length % 2);
 ```js
 /**
  * @template T
- * @param {T} p1 - A generic parameter that flows through to the return type
+ * @param {T} x - A generic parameter that flows through to the return type
  * @return {T}
  */
 function id(x){ return x }