File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -19362,7 +19362,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
19362
19362
if (!links.resolvedType) {
19363
19363
// Deferred resolution of members is handled by resolveObjectTypeMembers
19364
19364
const aliasSymbol = getAliasSymbolForTypeNode(node);
19365
- if (getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) {
19365
+ if (!node.symbol || getMembersOfSymbol(node.symbol).size === 0 && !aliasSymbol) {
19366
19366
links.resolvedType = emptyTypeLiteralType;
19367
19367
}
19368
19368
else {
Original file line number Diff line number Diff line change
1
+ /// <reference path='fourslash.ts' />
2
+
3
+ // @strict : true
4
+
5
+ // @filename : index.ts
6
+ //// class MssqlClient {
7
+ //// /**
8
+ //// *
9
+ //// * @param {Object } - args
10
+ //// * @param {String } - args.parentTable
11
+ //// * @returns {Promise<{upStatement/**/, downStatement}> }
12
+ //// */
13
+ //// async relationCreate(args) {}
14
+ //// }
15
+ ////
16
+ //// export default MssqlClient;
17
+
18
+ verify . completions ( {
19
+ marker : "" ,
20
+ exact : [ {
21
+ name : "readonly" ,
22
+ sortText : completion . SortText . GlobalsOrKeywords ,
23
+ } ] ,
24
+ isNewIdentifierLocation : true ,
25
+ } ) ;
You can’t perform that action at this time.
0 commit comments