This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-website.git

commit a53deb4d6d59335b1d1ee28b1a32211c62878fe7
Author: Josh Tynjala <[email protected]>
AuthorDate: Tue Oct 21 09:20:32 2025 -0700

    .eleventy.js: reference types for config object to get code intelligence
---
 .eleventy.js | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.eleventy.js b/.eleventy.js
index d373335d..67296254 100644
--- a/.eleventy.js
+++ b/.eleventy.js
@@ -3,7 +3,11 @@ const CleanCSS = require("clean-css");
 const sass = require("sass");
 const pluginRss = require("@11ty/eleventy-plugin-rss");
 
-module.exports = function (eleventyConfig) {
+/**
+ * @typedef {import('@11ty/eleventy/UserConfig').default} UserConfig
+ */
+
+module.exports = /** @param eleventyConfig {UserConfig} */ function 
(eleventyConfig) {
   // filters are used to modify the data used by a template
   eleventyConfig.addLiquidFilter("getNewestCollectionItemDate", 
pluginRss.getNewestCollectionItemDate);
   eleventyConfig.addLiquidFilter("dateToRfc3339", pluginRss.dateToRfc3339);

Reply via email to