浏览代码

Update README.md

Garrett Johnson 4 年之前
父节点
当前提交
143846e9e3
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      README.md

+ 3 - 3
README.md

@@ -636,9 +636,9 @@ Returns the keys of all the data in the batch table.
 ```js
 getData(
 	key : String,
-	defaultComponentType = null : String|null,
-	defaultType = null : String|null,
-) : Array|TypedArray|null
+	defaultComponentType = null : String | null,
+	defaultType = null : String | null,
+) : Array | TypedArray | null
 ```
 
 Returns the data associated with the `key` passed into the function. If the component and type are specified in the batch table contents then those values are used otherwise the values in `defaultComponentType` and `defaultType` are used. Returns null if the key is not in the table.