Debian Codegraph @

packages/babel-plugin-proposal-private-methods/test/fixtures/private-static-method-privateFieldsAsProperties/async/input.js

raw
1 class Cl {
2 static async #privateStaticMethod() {
3 return 2;
4 }
5
6 test() {
7 return Cl.#privateStaticMethod();
8 }
9 }
10
11 return new Cl().test().then(val => {
12 expect(val).toBe(2);
13 });