@rescript/webapi 0.1.0-experimental-03eae8b → 0.1.0-experimental-d1645e3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescript/webapi",
3
- "version": "0.1.0-experimental-03eae8b",
3
+ "version": "0.1.0-experimental-d1645e3",
4
4
  "description": "Experimental successor to [rescript-webapi](https://github.com/TheSpyder/rescript-webapi)",
5
5
  "homepage": "https://rescript-lang.github.io/experimental-rescript-webapi/",
6
6
  "bugs": "https://github.com/rescript-lang/experimental-rescript-webapi/issues",
@@ -115,7 +115,7 @@ Returns element's first attribute whose qualified name is qualifiedName, and nul
115
115
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Element/getAttribute)
116
116
  */
117
117
  @send
118
- external getAttribute: (T.t, string) => string = "getAttribute"
118
+ external getAttribute: (T.t, string) => null<string> = "getAttribute"
119
119
 
120
120
  /**
121
121
  Returns the qualified names of all element's attributes. Can contain duplicates.