Skip to content

Commit

Permalink
Fix return type of classList
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltroger authored Oct 21, 2023
1 parent 31a05fd commit 95ea0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lit-dom-expressions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface Runtime {
createComponent(Comp: (props: any) => any, props: any): any;
addEventListener(node: Element, name: string, handler: () => void, delegate: boolean): void;
delegateEvents(eventNames: string[]): void;
classList(node: Element, value: { [k: string]: boolean }, prev?: { [k: string]: boolean }): void;
classList(node: Element, value: { [k: string]: boolean }, prev?: { [k: string]: boolean }): { [k: string]: boolean };
style(node: Element, value: { [k: string]: string }, prev?: { [k: string]: string }): void;
mergeProps(...sources: unknown[]): unknown;
dynamicProperty(props: any, key: string): any;
Expand Down

0 comments on commit 95ea0e1

Please sign in to comment.