MCPcopy Create free account
hub / github.com/coder/guts / variableStatement

Function variableStatement

typescript-engine/src/index.ts:213–221  ·  view source on GitHub ↗
(
  modifiers: readonly modifierKeys[] | readonly ts.Modifier[] | undefined,
  list: ts.VariableDeclarationList
)

Source from the content-addressed store, hash-verified

211}
212
213export function variableStatement(
214 modifiers: readonly modifierKeys[] | readonly ts.Modifier[] | undefined,
215 list: ts.VariableDeclarationList
216) {
217 return ts.factory.createVariableStatement(
218 modifiers?.map((m) => modifier(m)),
219 list
220 );
221}
222
223export function variableDeclarationList(
224 declarations: ts.VariableDeclaration[],

Callers

nothing calls this directly

Calls 1

modifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…