Commit 1bbcb55
authored
@typedef's nested Object syntax disallows type arguments (microsoft#36172)
Previously the jsdoc index signature syntax was incorrectly treated the
same as Object:
```js
/** @typedef {Object} AllowsNesting
* @Property ... */
/** @typedef {Object.<string,string>} IncorrectlyAllowsNesting */
```
Fixes microsoft#349111 parent 502e711 commit 1bbcb55Copy full SHA for 1bbcb55
File tree
Expand file treeCollapse file tree
4 files changed
+64
-1
lines changedOpen diff view settings
Filter options
- src/compiler
- tests
- baselines/reference
- cases/conformance/jsdoc
Expand file treeCollapse file tree
4 files changed
+64
-1
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7145 | 7145 | |
7146 | 7146 | |
7147 | 7147 | |
7148 | | - |
| 7148 | + |
7149 | 7149 | |
7150 | 7150 | |
7151 | 7151 | |
|
Collapse file
tests/baselines/reference/typedefTagExtraneousProperty.symbols
Copy file name to clipboard+19Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
Collapse file
tests/baselines/reference/typedefTagExtraneousProperty.types
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
Collapse file
tests/cases/conformance/jsdoc/typedefTagExtraneousProperty.ts
Copy file name to clipboard+15Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
0 commit comments