Skip to content

Commit

Permalink
fix(core): fixing missing definitions bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasonny83 committed Jun 3, 2017
1 parent 4c5613e commit 1b2eded
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/cookie-law-element.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ import {
} from './icons';
import { translateInOut } from './animations';

export declare type CookieLawPosition = 'top' | 'bottom';
export declare type CookieLawAnimation = 'topIn' | 'bottomIn' | 'topOut' | 'bottomOut';
export declare type CookieLawTarget = '_blank' | '_self';

@Component({
selector: 'cookie-law-el',
animations: [translateInOut],
Expand Down
7 changes: 5 additions & 2 deletions src/cookie-law.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ import {
import {
CookieLawService,
} from './cookie-law.service';

import { CookieLawElementComponent } from './cookie-law-element.component';
import {
CookieLawElementComponent,
CookieLawTarget,
CookieLawPosition,
} from './cookie-law-element.component';

@Component({
selector: 'cookie-law',
Expand Down
3 changes: 0 additions & 3 deletions src/typings.d.ts

This file was deleted.

3 changes: 3 additions & 0 deletions src/typings.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export declare type CookieLawPosition = 'top' | 'bottom';
export declare type CookieLawAnimation = 'topIn' | 'bottomIn' | 'topOut' | 'bottomOut';
export declare type CookieLawTarget = '_blank' | '_self';

0 comments on commit 1b2eded

Please sign in to comment.