Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
arlac77 committed Apr 19, 2024
1 parent 14d6f66 commit 3e2f882
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/expander.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ export async function expand(config, options) {
: ee.expand(config);
}

/**
* @typedef {Object} Context
* @property {Object} constants
* @property {string} constants.basedir
* @property {Object} constants.env
* @property {string} constants.os
* @property {Object} functions
*/

/**
* @typedef {Object} Value
* @property {string} type
Expand All @@ -63,7 +72,7 @@ export async function expand(config, options) {

/**
* @callback Apply
* @param {Context} Context
* @param {Context} context
* @param {Value[]} args
*/

Expand Down

0 comments on commit 3e2f882

Please sign in to comment.