@rescript/webapi 0.1.0-experimental-ffc94c8 → 0.1.0-experimental-5db3fc6

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-ffc94c8",
3
+ "version": "0.1.0-experimental-5db3fc6",
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",
@@ -6,6 +6,9 @@ external fromString: string => fillStyle = "%identity"
6
6
  external fromCanvasGradient: canvasGradient => fillStyle = "%identity"
7
7
  external fromCanvasPattern: canvasGradient => fillStyle = "%identity"
8
8
 
9
+ /**
10
+ Represents a decoded version of the abstract `fillStyle` type, used in Context2D.
11
+ */
9
12
  type decoded =
10
13
  | String(string)
11
14
  | CanvasGradient(canvasGradient)