Commit 1814e2a
authored
Mark @typedef as a type declaration (microsoft#39468)
* Mark @typedef as a type declaration
This is only important right now for marking uses of deprecated tags due
to the way that deprecated type references are computed. But I'm
surprised it hasn't caused problems elsewhere.
Fixes microsoft#39466
* Also mark @callback and @enum
Requires making name lookup in isTypeDeclarationName smarter, but this
is only used by services, so shouldn't be too performance sensitive.1 parent 6b493f2 commit 1814e2a
File tree
2 files changed
+28
-2
lines changed- src/compiler
- tests/cases/fourslash
2 files changed
+28
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36107 | 36107 | | |
36108 | 36108 | | |
36109 | 36109 | | |
36110 | | - | |
| 36110 | + | |
36111 | 36111 | | |
36112 | 36112 | | |
36113 | | - | |
| 36113 | + | |
36114 | 36114 | | |
36115 | 36115 | | |
36116 | 36116 | | |
36117 | 36117 | | |
36118 | 36118 | | |
36119 | 36119 | | |
| 36120 | + | |
| 36121 | + | |
| 36122 | + | |
36120 | 36123 | | |
36121 | 36124 | | |
36122 | 36125 | | |
| |||
| 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 | + | |
0 commit comments