Skip to content

Instantly share code, notes, and snippets.

View Aleksandyr's full-sized avatar

Aleksandar Kamenov Aleksandyr

  • Sofia
View GitHub Profile
export class A {
public b;
public c;
public d();
}
@Component({ name: 'convert-component' })
export class ConvertComponent extends ConverterComponent {
...
}
@Component({ name: 'options-component' })
export class OptComponent extends OptionsComponent {
public initialize() {
const generateToOption: DeclarationOption = {
name: "generate-json",
short: "gen-json",
type: ParameterType.String,
help: 'Specifies the directory where the json files have to be generated.',
};
@Component({ name: 'options-component' })
export class OptComponent extends OptionsComponent {
public initialize() {
const generateToOption: DeclarationOption = {
name: "generate-json",
short: "gen-json",
type: ParameterType.String,
help: 'Specifies the directory where the json files have to be generated.',
};
module.exports = (PluginHost: Application) => {
const app = PluginHost.owner;
/**
* Add Options register Component.
*/
app.options.addComponent('options-component', OptComponent);
}
"keywords": [
"typedocplugin"
]
@Aleksandyr
Aleksandyr / cloudSettings
Last active May 13, 2020 06:31
plugin package json config
{"lastUpload":"2020-05-13T06:31:10.302Z","extensionVersion":"v3.4.3"}