From e342099b300ee173c4ed5fccfa49213ec53ebae1 Mon Sep 17 00:00:00 2001 From: Thomas Jacob Date: Thu, 7 Dec 2017 21:29:56 +0100 Subject: [PATCH] fix(store): failed to load page --- package.json | 6 ++---- src/store/pattern/parser/typescript_parser.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index f11f44372..bf3cda490 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,9 @@ "main": "dist/electron/index.js", "scripts": { "build": "tslint --project . -c tslint.json 'src/**/*.ts' && tsc --project .", - "start": - "npm run build && concurrently \"electron dist/electron\" \"tsc --project . --watch\"", + "start": "npm run build && concurrently \"electron dist/electron\" \"tsc --project . --watch\"", "build-lsg": "tsc --project src/lsg --outDir dist/lsg/patterns --sourceMap", - "start-lsg": - "npm run build-lsg && concurrently \"npm run build-lsg -- -w\" \"patternplate start\"" + "start-lsg": "npm run build-lsg && concurrently \"npm run build-lsg -- -w\" \"patternplate start\"" }, "repository": { "type": "git", diff --git a/src/store/pattern/parser/typescript_parser.ts b/src/store/pattern/parser/typescript_parser.ts index 3a467d923..4db4f209c 100644 --- a/src/store/pattern/parser/typescript_parser.ts +++ b/src/store/pattern/parser/typescript_parser.ts @@ -48,7 +48,7 @@ export class TypeScriptParser extends PatternParser { } protected getPropsTypeName(): string { - return `${this.typeName} Props`; + return `${this.typeName}Props`; } public parse(pattern: Pattern): Property[] | undefined {