File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change
1
+ /* @flow strict */
2
+
3
+ declare module '@github/remote-input-element' {
4
+ declare export default class RemoteInputElement extends HTMLElement {
5
+ get input(): ?HTMLInputElement;
6
+ get resultsContainer(): ?HTMLElement;
7
+ get src(): string;
8
+ set src(url: string): void;
9
+ get name(): string;
10
+ set name(value: string): void;
11
+ }
12
+ }
Original file line number Diff line number Diff line change 13
13
"clean" : " rm -rf dist" ,
14
14
"lint" : " github-lint" ,
15
15
"prebuild" : " npm run clean && npm run lint && mkdir dist" ,
16
- "build-umd" : " BABEL_ENV=umd babel index.js -o dist/index.umd.js" ,
17
- "build-esm" : " BABEL_ENV=esm babel index.js -o dist/index.esm.js" ,
16
+ "build-umd" : " BABEL_ENV=umd babel index.js -o dist/index.umd.js && cp index.js.flow dist/index.umd.js.flow " ,
17
+ "build-esm" : " BABEL_ENV=esm babel index.js -o dist/index.esm.js && cp index.js.flow dist/index.esm.js.flow " ,
18
18
"build" : " npm run build-umd && npm run build-esm" ,
19
19
"pretest" : " npm run build" ,
20
20
"test" : " karma start test/karma.config.js" ,
You can’t perform that action at this time.
0 commit comments