Skip to content

Commit

Permalink
fix .add type
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Apr 7, 2024
1 parent 9f91cee commit 633c1bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ export class Tonic<T = {}> extends HTMLElement {
static getPropertyNames(proto: any): string[];
/**
* Add a component
* @param {TonicComponent} c
* @param {typeof TonicComponent} c
* @param {string} [htmlName] Name of the element, default to the class name
* @returns {void}
*/
static add(c: TonicComponent, htmlName?: string): void;
static add(c: typeof TonicComponent, htmlName?: string): void;
static registerStyles(stylesheetFn: any): void;
static escape(s: any): any;
static unsafeRawString(s: any, templateStrings: any): TonicTemplate;
Expand Down

0 comments on commit 633c1bb

Please sign in to comment.