Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
danbalarin committed Mar 18, 2020
1 parent 92f2f17 commit e9bff45
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions plugin.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { Reflection, ReflectionKind } from "typedoc/dist/lib/models/reflections/abstract";
import { Reflection } from "typedoc/dist/lib/models/reflections/abstract";
import { Component, ConverterComponent } from "typedoc/dist/lib/converter/components";
import { Converter } from "typedoc/dist/lib/converter/converter";
import { Context } from "typedoc/dist/lib/converter/context";
import { CommentPlugin } from "typedoc/dist/lib/converter/plugins/CommentPlugin";
import { ContainerReflection } from "typedoc/dist/lib/models/reflections/container";
import { getRawComment } from "typedoc/dist/lib/converter/factories/comment";
import { Options, OptionsReadMode } from "typedoc/dist/lib/utils/options";
import { Options } from "typedoc/dist/lib/utils/options";


/**
Expand Down Expand Up @@ -41,7 +40,7 @@ export class ExternalModuleMapPlugin extends ConverterComponent {
*/
private onBegin(context: Context) {
this.moduleRenames = [];
this.options.read({}, OptionsReadMode.Prefetch);
this.options.read();
this.externalmap = (this.options.getValue('external-modulemap'));
if (!!this.externalmap) {
try {
Expand Down

0 comments on commit e9bff45

Please sign in to comment.