microsoft / microsoft/typespec
Remove the `@indexer` decorator
Open
design:needed
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Similar to the `@intrinstic` decorator it would be good to not depend on a decorator for something affecting the type graph.
Could just follow typescript syntax here
```cadl
model Record {
[key: string]: T;
}
```
Contributor guide
Assessment
This issue has not been assessed yet.