Skip to content

Commit 3e127a5

Browse files
committed
note that interfaces are private
1 parent 137032b commit 3e127a5

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

packages/base/src/types/CommonProps.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import type { CSSProperties, HTMLAttributes } from 'react';
22

3+
/**
4+
* ⚠️ __INTERNAL__ use only! This interface is not part of the public API.
5+
*/
36
export interface CommonProps<T = HTMLElement> extends Omit<HTMLAttributes<T>, 'dangerouslySetInnerHTML'> {
47
/**
58
* Element style which will be appended to the most outer element of a component.

packages/base/src/types/Ui5CustomEvent.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/**
2+
* ⚠️ __INTERNAL__ use only! This interface is not part of the public API.
3+
*/
14
export interface Ui5CustomEvent<EventTarget = HTMLElement, Detail = never>
25
extends Omit<CustomEvent<Detail>, 'target' | 'currentTarget'> {
36
target: EventTarget;

packages/base/src/types/Ui5DomRef.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ type ChangeInfo = {
1212

1313
type InvalidationInfo = ChangeInfo & { target: Ui5DomRef };
1414

15+
/**
16+
* ⚠️ __INTERNAL__ use only! This interface is not part of the public API.
17+
*/
1518
export interface Ui5DomRef extends Omit<HTMLElement, 'focus'> {
1619
/**
1720
* Called every time before the component renders.

0 commit comments

Comments
 (0)