Skip to content

Commit

Permalink
fix(animations.ts): fixing missing AnimationEntryMetadata
Browse files Browse the repository at this point in the history
Exported variable 'translateInOut' has or is using name 'AnimationEntryMetadata'
  • Loading branch information
andreasonny83 committed Jun 3, 2017
1 parent c7e5b4d commit e726a1b
Show file tree
Hide file tree
Showing 4 changed files with 310 additions and 531 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
"devDependencies": {
"@angular/common": "2.4.10",
"@angular/compiler": "2.4.10",
"@angular/compiler-cli": "2.4.10",
"@angular/core": "2.4.10",
"@angular/platform-browser": "2.4.10",
"@angular/platform-browser-dynamic": "2.4.10",
"@angular/compiler-cli": "2.4.10",
"@types/jasmine": "2.5.46",
"@types/node": "7.0.5",
"@types/selenium-webdriver": "2.53.39",
Expand All @@ -62,7 +62,7 @@
"angular2-inline-template-style": "1.0.2",
"angular2-template-loader": "0.6.2",
"awesome-typescript-loader": "3.1.2",
"codelyzer": "2.0.1",
"codelyzer": "3.0.1",
"commitizen": "2.9.6",
"core-js": "2.4.1",
"coveralls": "2.12.0",
Expand All @@ -84,7 +84,7 @@
"rxjs": "5.1.0",
"semantic-release": "6.3.2",
"source-map-loader": "0.2.0",
"tslint": "4.5.1",
"tslint": "5.0.0",
"typescript": "2.2.1",
"uglify-js": "2.8.16",
"uglifyjs-webpack-plugin": "0.3.1",
Expand Down
3 changes: 2 additions & 1 deletion src/animations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import {
style,
animate,
transition,
AnimationEntryMetadata,
} from '@angular/core';

export const translateInOut =
export const translateInOut: AnimationEntryMetadata =
trigger('transition', [
state('*', style({ transform: 'translateY(0)' })),
state('void', style({ transform: 'translateY(0)' })),
Expand Down
6 changes: 3 additions & 3 deletions tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules":{
"directive-selector": [true, "attribute", "camelCase"],
"component-selector": [true, "element", "kebab-case"],
"rules": {
"directive-selector": [true, "attribute", "cookie", "camelCase"],
"component-selector": [true, "element", "cookie", "kebab-case"],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"no-attribute-parameter-decorator": true,
Expand Down
Loading

0 comments on commit e726a1b

Please sign in to comment.