Duplicate EventSource constants on to the symbol and remove values from extern
Closes
@@ -57,17 +57,32 @@ EventSource.prototype.withCredentials;
/**
* @const {number}
*/
-EventSource.prototype.CONNECTING = 0;
+EventSource.prototype.CONNECTING;
/**
* @const {number}
*/
-EventSource.prototype.OPEN = 1;
+EventSource.CONNECTING;
/**
* @const {number}
*/
-EventSource.prototype.CLOSED = 2;
+EventSource.prototype.OPEN;
+
+/**
+ * @const {number}
+ */
+EventSource.OPEN;
+
+/**
+ * @const {number}
+ */
+EventSource.prototype.CLOSED;
+
+/**
+ * @const {number}
+ */
+EventSource.CLOSED;
/**
* @type {number}
