Skip to content

Commit caeaa0a

Browse files
committed
typings: Rename from obj to identity
1 parent a6892b9 commit caeaa0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

index.d.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export declare function bind<T extends Element>(element: T): BoundTemplateFuncti
1515

1616
export declare function define(intent: string, callback: Function): void;
1717

18-
export declare function wire(obj?: object | null, type?: 'html' | 'svg'): WiredTemplateFunction;
19-
export declare function wire(obj?: object | null, type_id?: string): WiredTemplateFunction;
18+
export declare function wire(identity?: object | null, type?: 'html' | 'svg'): WiredTemplateFunction;
19+
export declare function wire(identity?: object | null, type_id?: string): WiredTemplateFunction;
2020

2121
export declare const hyper: {
2222
Component: typeof Component;
@@ -26,7 +26,7 @@ export declare const hyper: {
2626
wire: typeof wire;
2727

2828
// hyper(null, 'html')`HTML`
29-
(obj: null | undefined, type?: 'html' | 'svg'): WiredTemplateFunction;
29+
(identity: null | undefined, type?: 'html' | 'svg'): WiredTemplateFunction;
3030

3131
// hyper('html')`HTML`
3232
(type: 'html' | 'svg'): WiredTemplateFunction;
@@ -39,8 +39,8 @@ export declare const hyper: {
3939

4040
// hyper(obj, 'html:id')`HTML`
4141
// hyper(obj)`HTML`
42-
(obj: object, type?: 'html' | 'svg'): WiredTemplateFunction;
43-
(obj: object, type_id?: string): WiredTemplateFunction;
42+
(identity: object, type?: 'html' | 'svg'): WiredTemplateFunction;
43+
(identity: object, type_id?: string): WiredTemplateFunction;
4444

4545
// hyper()`HTML`
4646
(): WiredTemplateFunction;

0 commit comments

Comments
 (0)