We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bafbd59 + 03055a7 commit 6d37bf9Copy full SHA for 6d37bf9
2 files changed
index.js.flow
@@ -0,0 +1,7 @@
1
+/* @flow strict */
2
+
3
+declare module '@github/markdown-toolbar-element' {
4
+ declare export default class MarkdownToolbarElement extends HTMLElement {
5
+ get field(): ?HTMLTextAreaElement;
6
+ }
7
+}
package.json
@@ -11,7 +11,7 @@
11
"prebuild": "npm run clean && npm run lint && mkdir dist",
12
"build-umd": "BABEL_ENV=umd babel index.js -o dist/index.umd.js",
13
"build-esm": "BABEL_ENV=esm babel index.js -o dist/index.esm.js",
14
- "build": "npm run build-umd && npm run build-esm",
+ "build": "npm run build-umd && npm run build-esm && cp index.js.flow dist/index.esm.js.flow && cp index.js.flow dist/index.umd.js.flow",
15
"pretest": "npm run build",
16
"test": "karma start test/karma.config.js",
17
"prepublishOnly": "npm run build"
0 commit comments