We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02b8695 commit 0fe8fddCopy full SHA for 0fe8fdd
research/experiments/typescript/variable-declaration.md
@@ -0,0 +1,22 @@
1
+# Variable Declaration
2
+
3
+case SyntaxKind.VariableDeclaration:
4
+return checkVariableDeclaration(node as VariableDeclaration);
5
6
+- checkVariableDeclaration
7
+- checkVariableLikeDeclaration
8
+- const symbol = getSymbolOfDeclaration(node);
9
10
+Diagnostics.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2
11
12
+errorNextVariableOrPropertyDeclarationMustHaveSameType
13
14
+getTypeOfVariableOrParameterOrProperty
15
+getSymbolLinks // get links type: get it from the cache or generate a new type
16
17
+---
18
19
+binder: handling symbols
20
21
+- declareSymbol
22
+-
0 commit comments