microsoft / microsoft/typespec

Spread array values into a new array value

Open
#7,564 0 comments 0 reactions 0 assignees View on GitHub
compiler:core feature triaged:core
Dominant language
Java
Stars
5.9k
Forks
394
Avg merge
1d 23h
Merged PRs (30d)
104

Description

```tsp
const a = #[1, 3];

const b = #[2, ...a, 4];
```

This doesn't work but we do support spreading object values

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.