Skip to content

v15 - Outdated typescript import in Custom Property Editor example - UmbPropertyEditorUiElement #6797

@nackler

Description

@nackler

What type of issue is it?

Wrong documentation

What article/section is this about?

https://docs.umbraco.com/umbraco-cms/tutorials/creating-a-property-editor

Describe the issue

In the 'custom property editor' instructions, in the 'Creating a Web Component' section, there is an example .ts file with an incorrect import.
The example shows
import { UmbPropertyEditorUiElement } from "@umbraco-cms/backoffice/extension-registry";

I couldn't get that to build in v15 until I changed it to
import type { UmbPropertyEditorUiElement } from '@umbraco-cms/backoffice/property-editor';

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions