Skip to content

Commit b028d34

Browse files
committed
Update type definitions to include accept
1 parent 5a42ba8 commit b028d34

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

include-fragment-element.js.flow

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ declare module '@github/include-fragment-element' {
55
get data(): Promise<string>;
66
get src(): string;
77
set src(url: string): void;
8+
get accept(): string;
9+
set accept(accept: string): void;
810
fetch(request: Request): Promise<Response>;
911
}
1012
}

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export default class IncludeFragmentElement extends HTMLElement {
22
readonly data: Promise<string>;
33
src: string;
4+
accept: string;
45
fetch(request: Request): Promise<Response>;
56
}
67

0 commit comments

Comments
 (0)