From 740cf9a5869f5895562c12265d57880336db840f Mon Sep 17 00:00:00 2001 From: harunurhan Date: Wed, 21 Nov 2018 10:45:37 +0100 Subject: [PATCH] pin typedoc version and fix typedoc errors --- package.json | 4 ++-- src/shared/interfaces/json-editor-config.ts | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index eada75c7..51562d32 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "copy": "copyfiles LICENSE README.md package.json dist", "postversion": "git push upstream && git push upstream --tags", "coveralls": "cat coverage/coverage.lcov | coveralls", - "typedoc": "typedoc --readme none --theme ./docs-theme --module commonjs --out ./example-dist/docs --tsconfig ./src/shared/interfaces/tsconfig.json ." + "typedoc": "cd ./src/shared/interfaces && typedoc --readme none --theme ../../../docs-theme --module commonjs --out ../../../example-dist/docs --tsconfig ./tsconfig.json ./json-editor-config.ts" }, "peerDependencies": { "@angular/common": "^4.0.0", @@ -97,7 +97,7 @@ "ts-helpers": "^1.1.1", "ts-node": "1.2.1", "tslint": "^5.0.0", - "typedoc": "^0.5.5", + "typedoc": "0.9.0", "typescript": "~2.3.0", "util-deprecate": "^1.0.2", "zone.js": "^0.8.4" diff --git a/src/shared/interfaces/json-editor-config.ts b/src/shared/interfaces/json-editor-config.ts index ea2a0a6e..089e899d 100644 --- a/src/shared/interfaces/json-editor-config.ts +++ b/src/shared/interfaces/json-editor-config.ts @@ -4,6 +4,9 @@ import { CustomShortcutKeys } from './custom-shortcut-keys'; import { TabsConfig } from './tabs-config'; import { CustomFormatValidation } from './custom-format-validation'; +// HACK for docs +import '../../rxjs-operators'; + export interface JsonEditorConfig { /** * If set, displays the switch that can enable admin mode where any field can be edited.