Skip to content

Commit

Permalink
chore!: Remove deprecated Option decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit0 committed Mar 18, 2020
1 parent 5933168 commit 19c65c3
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 43 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export { NavigationItem } from './lib/output/models/NavigationItem';
export { UrlMapping } from './lib/output/models/UrlMapping';

export {
Option, // deprecated
BindOption,
Options,
OptionsReader,
Expand Down
3 changes: 0 additions & 3 deletions src/lib/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import {
} from './utils/component';
import { Options, BindOption } from './utils';
import { TypeDocAndTSOptions } from './utils/options/declaration';
import { addDecoratedOptions } from './utils/options/sources';

/**
* The default TypeDoc main application class.
Expand Down Expand Up @@ -129,8 +128,6 @@ export class Application extends ChildableComponent<
}

this.plugins.load();
// Load decorated options from the plugins.
addDecoratedOptions(this.options);

this.options.reset();
this.options.setValues(options).mapErr(errors => {
Expand Down
1 change: 0 additions & 1 deletion src/lib/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export {
Option,
Options,
ParameterType,
ParameterHint,
Expand Down
1 change: 0 additions & 1 deletion src/lib/utils/options/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { Options, OptionsReader, BindOption } from './options';
export { Option } from './sources';
export { ArgumentsReader, TypeDocReader, TSConfigReader } from './readers';
export {
TypeDocOptions,
Expand Down
35 changes: 0 additions & 35 deletions src/lib/utils/options/sources/decorator.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/lib/utils/options/sources/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export { addDecoratedOptions, Option } from './decorator';
export { addTSOptions } from './typescript';
export { addTypeDocOptions } from './typedoc';
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"module": "commonjs",
"lib": [
"dom",
"es5",
"es2015.core",
"es2015.collection",
Expand Down

0 comments on commit 19c65c3

Please sign in to comment.