Skip to content

Commit fab42ec

Browse files
author
Giedrius Grabauskas
committed
Fixed ts errors.
1 parent d41ce09 commit fab42ec

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import * as http from 'http';
33
import { RequestHandler } from 'express-serve-static-core';
44
import Logger from './utils/logger';
55
import Configuration from './configuration/configuration';
6-
import { spawn } from 'child_process';
76
import { exec } from 'child_process';
87
import * as path from "path";
98
import * as connectLiveReload from 'connect-livereload';

src/tasks/build/tasks/build-configs/tasks/build-configs-files-task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default class BuildConfigsFilesTask extends TaskBase {
6060
var regex = /SystemJS\.config\(({[\s\S.]*?})\)/;
6161
var json = content.match(regex);
6262
if (json != null) {
63-
let jsonObj: { [key: string]: any } | undefined = undefined;
63+
let jsonObj: any | undefined;
6464
try {
6565
eval('jsonObj = ' + json[1]);
6666
if (jsonObj != null) {

0 commit comments

Comments
 (0)