work.suroh.tk/node_modules/@11ty/eleventy/test/stubs/class-async.11ty.js

8 lines
116 B
JavaScript

class Test {
async render({ name }) {
return Promise.resolve(`<p>${name}</p>`);
}
}
module.exports = Test;