Skip to content

Commit f252beb

Browse files
fix(cookies): seperate server/browser exports
1 parent 51373f9 commit f252beb

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

src/modules/cookies/browser.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { CookiesBrowserModule } from './cookies.browser.module'
2+
export { CookieService } from './cookies.browser.service'

src/modules/cookies/cookies.browser.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Injectable } from '@angular/core'
22
import { Subject } from 'rxjs'
3-
import { CookieAttributes, getJSON, remove, set } from 'js-cookie'
43
import { ICookieService, StringDict } from './common'
4+
import { CookieAttributes, getJSON, remove, set } from 'js-cookie'
55

66
// tslint:disable:no-this
77
// tslint:disable-next-line:no-class

src/modules/cookies/index.ts

-5
This file was deleted.

src/modules/cookies/server.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export { ServerCookieService } from './cookies.server.service'
2+
export { CookiesServerModule } from './cookies.server.module'

0 commit comments

Comments
 (0)