Skip to content

Commit 19c65c3

Browse files
committed
chore!: Remove deprecated Option decorator
1 parent 5933168 commit 19c65c3

File tree

7 files changed

+0
-43
lines changed

7 files changed

+0
-43
lines changed

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export { NavigationItem } from './lib/output/models/NavigationItem';
1212
export { UrlMapping } from './lib/output/models/UrlMapping';
1313

1414
export {
15-
Option, // deprecated
1615
BindOption,
1716
Options,
1817
OptionsReader,

src/lib/application.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
} from './utils/component';
2626
import { Options, BindOption } from './utils';
2727
import { TypeDocAndTSOptions } from './utils/options/declaration';
28-
import { addDecoratedOptions } from './utils/options/sources';
2928

3029
/**
3130
* The default TypeDoc main application class.
@@ -129,8 +128,6 @@ export class Application extends ChildableComponent<
129128
}
130129

131130
this.plugins.load();
132-
// Load decorated options from the plugins.
133-
addDecoratedOptions(this.options);
134131

135132
this.options.reset();
136133
this.options.setValues(options).mapErr(errors => {

src/lib/utils/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export {
2-
Option,
32
Options,
43
ParameterType,
54
ParameterHint,

src/lib/utils/options/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export { Options, OptionsReader, BindOption } from './options';
2-
export { Option } from './sources';
32
export { ArgumentsReader, TypeDocReader, TSConfigReader } from './readers';
43
export {
54
TypeDocOptions,

src/lib/utils/options/sources/decorator.ts

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
export { addDecoratedOptions, Option } from './decorator';
21
export { addTSOptions } from './typescript';
32
export { addTypeDocOptions } from './typedoc';

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"compilerOptions": {
33
"module": "commonjs",
44
"lib": [
5-
"dom",
65
"es5",
76
"es2015.core",
87
"es2015.collection",

0 commit comments

Comments
 (0)