File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ export default class RemoteInputElement extends HTMLElement {
2
+ readonly input : HTMLInputElement | HTMLTextAreaElement | undefined ;
3
+ src : string ;
4
+ }
Original file line number Diff line number Diff line change 2
2
3
3
declare module '@github/remote-input-element' {
4
4
declare export default class RemoteInputElement extends HTMLElement {
5
- get input(): ?HTMLInputElement;
5
+ get input(): ?( HTMLInputElement | HTMLTextAreaElement) ;
6
6
get src(): string;
7
7
set src(url: string): void;
8
8
}
Original file line number Diff line number Diff line change 4
4
"description" : " An input element that sends its value to a server endpoint and renders the response body." ,
5
5
"main" : " dist/index.umd.js" ,
6
6
"module" : " dist/index.esm.js" ,
7
+ "types" : " index.d.ts" ,
7
8
"license" : " MIT" ,
8
9
"repository" : " github/remote-input-element" ,
9
10
"files" : [
10
- " dist"
11
+ " dist" ,
12
+ " index.d.ts"
11
13
],
12
14
"scripts" : {
13
15
"clean" : " rm -rf dist" ,
You can’t perform that action at this time.
0 commit comments