@ts-core/angular 13.1.13 → 13.1.14
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.
|
@@ -1762,16 +1762,14 @@ class CookieService extends Cookie.CookieService {
|
|
|
1762
1762
|
// --------------------------------------------------------------------------
|
|
1763
1763
|
constructor(options, nativeWindow) {
|
|
1764
1764
|
super({ options });
|
|
1765
|
-
this
|
|
1766
|
-
/*
|
|
1765
|
+
// this['cookieString'] = nativeWindow.document.cookie;
|
|
1767
1766
|
Object.defineProperty(this, 'cookieString', {
|
|
1768
|
-
get: ()
|
|
1769
|
-
set: (value
|
|
1767
|
+
get: () => nativeWindow.document.cookie,
|
|
1768
|
+
set: (value) => (nativeWindow.document.cookie = value),
|
|
1770
1769
|
writable: true,
|
|
1771
1770
|
enumerable: true,
|
|
1772
1771
|
configurable: true
|
|
1773
1772
|
});
|
|
1774
|
-
*/
|
|
1775
1773
|
}
|
|
1776
1774
|
// --------------------------------------------------------------------------
|
|
1777
1775
|
//
|