We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838a7e3 commit ee2b58dCopy full SHA for ee2b58d
internal/compiler/fileloader.go
@@ -788,6 +788,9 @@ func getRawTypeValue(node *ast.Node) *string {
788
}
789
790
func getModuleLiteralImportAttributeType(node *ast.StringLiteralLike) *string {
791
+ if node == nil {
792
+ return nil
793
+ }
794
parent := node.Parent
795
if parent == nil {
796
return nil
0 commit comments