10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18eb02c commit 95f7142Copy full SHA for 95f7142
package.json
@@ -6,7 +6,7 @@
6
"module": "dist/index.esm.js",
7
"repository": "github/hotkey",
8
"scripts": {
9
- "build": "rollup -c",
+ "build": "rollup -c && cp src/index.js.flow dist/index.esm.js.flow && cp src/index.js.flow dist/index.umd.js.flow",
10
"lint": "github-lint && flow",
11
"test": "karma start test/karma.config.js",
12
"clean": "rm -rf dist",
src/index.js.flow
@@ -0,0 +1,4 @@
1
+declare module.exports: {
2
+ install(container: HTMLElement): void;
3
+ uninstall(container: HTMLElement): void;
4
+}
0 commit comments