Permalink
Browse files

Add Target type "background_page"

Fixes #60.
  • Loading branch information...
zploskey committed Jun 7, 2018
1 parent 07c0c74 commit a4c528068c9462b2e943c4714e5143d86f7af047
Showing with 13 additions and 3 deletions.
  1. +6 −2 lib/js/src/Target.js
  2. +7 −1 src/Target.re

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -3,7 +3,13 @@ type t = Types.target;
external empty : unit => t = "%identity";

[@bs.deriving jsConverter]
type targetType = [ | `page | `service_worker | `browser | `other];
type targetType = [
| `page
| `background_page
| `service_worker
| `browser
| `other
];

[@ocaml.deprecated "pageType has been renamed to targetType"]
type pageType = targetType;

0 comments on commit a4c5280

Please sign in to comment.