File tree 2 files changed +16
-8
lines changed
2 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 1
- import "./invoker.d.ts" ;
2
- export * from "./invoker.js" ;
1
+ export declare function isSupported ( ) : boolean ;
2
+ export declare function isPolyfilled ( ) : boolean ;
3
+ export declare function apply ( ) : void ;
Original file line number Diff line number Diff line change 2
2
"name" : " invokers-polyfill" ,
3
3
"version" : " 0.0.0-development" ,
4
4
"description" : " This polyfills the HTML `invoketarget`/`invokeaction`, as proposed by the Open UI group." ,
5
+ "repository" : {
6
+ "type" : " git" ,
7
+ "url" : " git+https://github.com/keithamus/invokers-polyfill.git"
8
+ },
5
9
"license" : " MIT" ,
6
10
"author" : " Keith Cirkel (https://keithcirkel.co.uk)" ,
7
11
"type" : " module" ,
8
- "main" : " index.js" ,
9
- "types" : " invoker.d.ts" ,
10
12
"exports" : {
11
13
"." : {
12
14
"types" : " ./invoker.d.ts" ,
19
21
"import" : " ./invoker.js"
20
22
}
21
23
},
22
- "repository" : {
23
- "type" : " git" ,
24
- "url" : " git+https://github.com/keithamus/invokers-polyfill.git"
24
+ "main" : " index.js" ,
25
+ "types" : " invoker.d.ts" ,
26
+ "typesVersions" : {
27
+ "*" : {
28
+ "fn" : [
29
+ " ./index-fn.d.ts"
30
+ ]
31
+ }
25
32
},
26
33
"files" : [
27
34
" *.d.ts" ,
28
35
" *.js"
29
36
],
30
37
"scripts" : {
31
- "prepublishOnly" : " npm run minify" ,
32
38
"minify" : " esbuild --bundle --minify index.js > invoker.min.js" ,
39
+ "prepublishOnly" : " npm run minify" ,
33
40
"test" : " echo TODO! Run ./wpt serve --inject-script=../invokers-polyfill/invoker.js for now."
34
41
},
35
42
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments