diff --git a/packages/widget-element/index.ts b/packages/widget-element/index.ts index 7f982d9..be49003 100644 --- a/packages/widget-element/index.ts +++ b/packages/widget-element/index.ts @@ -143,15 +143,15 @@ export class WidgetElement extends HTMLElement { /** Widget is initialized, and shadow root is attached */ // eslint-disable-next-line no-empty-function - initialize(_shadowRoot: ShadowRoot) {} + protected initialize(_shadowRoot: ShadowRoot) {} /** An attribute of widget is changed */ // eslint-disable-next-line no-empty-function - attributeChanged() {} + protected attributeChanged() {} /** Widget is destroyed */ // eslint-disable-next-line no-empty-function - destroy() {} + protected destroy() {} /** * Get fallback (slot element by default) @@ -164,7 +164,7 @@ export class WidgetElement extends HTMLElement { * } * ``` */ - get fallback() { + protected get fallback() { return `` } diff --git a/typedoc.package.json b/typedoc.package.json index 1cdc737..2bcdc62 100644 --- a/typedoc.package.json +++ b/typedoc.package.json @@ -1,5 +1,6 @@ { "extends": "@rambler-tech/typedoc-config", "readme": "./README.md", - "entryPoints": ["./index.ts"] + "entryPoints": ["./index.ts"], + "excludeProtected": false }