Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d94d459 commit 15bc3c2Copy full SHA for 15bc3c2
2 files changed
javascript/ql/test/library-tests/EndpointNaming/pack12/index.js
@@ -0,0 +1,10 @@
1
+function wrap(fn) {
2
+ return x => fn(x);
3
+}
4
+
5
+function f() {}
6
+export const f1 = wrap(f); // $ method=(pack12).f1
7
+export const f2 = wrap(f); // $ method=(pack12).f2
8
9
+function g() {}
10
+export const g1 = wrap(g); // $ method=(pack12).g1
javascript/ql/test/library-tests/EndpointNaming/pack12/package.json
@@ -0,0 +1,4 @@
+{
+ "name": "pack12",
+ "main": "./index.js"
0 commit comments