-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LuigiClient type declaration for web components #2963
LuigiClient type declaration for web components #2963
Conversation
# Bitte geben Sie eine Commit-Beschreibung ein, um zu erklären, warum dieser # Merge erforderlich ist, insbesondere wenn es einen aktualisierten # Upstream-Branch mit einem Thema-Branch zusammenführt. # # Zeilen, die mit '#' beginnen, werden ignoriert, # und eine leere Beschreibung bricht den Commit ab.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
client/luigi-element.d.ts
Outdated
collapse: () => void; | ||
expand: () => void; | ||
setSize: (value: number) => void; | ||
on: (key: SplitViewEvents, callback: () => void) => string; // |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the //
:).
client/luigi-element.d.ts
Outdated
* @param {String} literal The literal to process. | ||
* @returns {String} Returns the processed literal. | ||
*/ | ||
export declare const html: (strings: TemplateStringsArray, ...values: unknown[]) => string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(question) In the luigi-element.js this method receives keys
luigi-element.js: L148. But it's declared as values here. Should it be like this? Maybe I'm overeager but there's no param for this as well. I presume it's all by design, if so, ignore my comment. :)
No description provided.