google / google/closure-templates

How can we define a param that is of type list of records?

Open
#213 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
700
Forks
199
Avg merge
2d 12h
Merged PRs (30d)
26

Description

I ned to render from JavaScript an array of JSON objects. How can we define this as a param?

I've tried: `@param issues: <[key: string, summary: string]>` but doesn't work.

Contributor guide

Open the contributing guide

Research direction

Start by reading the Closure Templates parameter type syntax and the JavaScript rendering path for arrays of JSON objects. Determine whether a list-of-record parameter is supported and identify the accepted declaration or limitation; done means the issue has a verified answer for the requested `issues` parameter.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.