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.
2 parents 2e64f34 + 197903b commit 91d722dCopy full SHA for 91d722d
index.d.ts
@@ -0,0 +1,5 @@
1
+interface Subscription {
2
+ unsubscribe: () => void
3
+}
4
+
5
+export default function subscribe(el: Element): Subscription;
package.json
@@ -5,6 +5,7 @@
"repository": "github/paste-markdown",
6
"main": "dist/index.umd.js",
7
"module": "dist/index.esm.js",
8
+ "types": "index.d.ts",
9
"scripts": {
10
"clean": "rm -rf dist",
11
"lint": "eslint . && flow check",
@@ -20,7 +21,8 @@
20
21
],
22
"license": "MIT",
23
"files": [
- "dist"
24
+ "dist",
25
+ "index.d.ts"
26
27
"devDependencies": {
28
"@babel/core": "^7.3.4",
0 commit comments