Update dependencies (#344)

* Update angular to 4.2.6

* Update rxjs

* Update webpack

* Update type definitions

* Update tslint
This commit is contained in:
József Farkas
2017-07-09 22:10:47 +02:00
committed by László Monda
parent d06892912f
commit e57a2f8637
14 changed files with 304 additions and 187 deletions

View File

@@ -1,5 +1,3 @@
/// <reference path="../../function.d.ts" />
import { Macro } from '../macro';
import { UhkBuffer } from '../../uhk-buffer';

View File

@@ -1,3 +0,0 @@
interface Function {
name: string;
}

View File

@@ -1,12 +1,12 @@
import { Pipe, PipeTransform } from '@angular/core';
import { SafeStyle, DomSanitizer} from '@angular/platform-browser';
import { SafeStyle, DomSanitizer } from '@angular/platform-browser';
@Pipe({
name: 'safeStyle'
})
export class SafeStylePipe implements PipeTransform {
constructor(private sanitizer: DomSanitizer) {}
constructor(private sanitizer: DomSanitizer) { }
transform(style: string): SafeStyle {
return this.sanitizer.bypassSecurityTrustStyle(style);

View File

@@ -1,3 +1,4 @@
import 'core-js/es7/array';
import 'core-js/es7/object';
import 'core-js/es7/reflect';
import 'zone.js/dist/zone';

View File

@@ -1,4 +1,4 @@
import {Injectable} from '@angular/core';
import { Injectable } from '@angular/core';
@Injectable()
export class LogService {

View File

@@ -1,7 +1,7 @@
import { Action } from '@ngrx/store';
import { type } from '../../util';
import {Notification} from '../../models/notification';
import { Notification } from '../../models/notification';
const PREFIX = '[app] ';
@@ -23,7 +23,7 @@ export class AppStartedAction implements Action {
export class ShowNotificationAction implements Action {
type = ActionTypes.APP_SHOW_NOTIFICATION;
constructor(public payload: Notification) {}
constructor(public payload: Notification) { }
}
export type Actions

View File

@@ -17,9 +17,6 @@ import { ActionTypes } from '../actions/user-config';
const initialState: UserConfiguration = new UserConfiguration();
/* tslint:disable:no-switch-case-fall-through */
// tslint bug: https://github.com/palantir/tslint/issues/1538
export default function (state = initialState, action: Action): UserConfiguration {
const changedUserConfiguration: UserConfiguration = Object.assign(new UserConfiguration(), state);