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 eb6aaf3 commit 69b11abCopy full SHA for 69b11ab
src/services/codefixes/fixJSDocTypes.ts
@@ -1,14 +1,13 @@
1
import { Diagnostics } from "../../compiler/diagnosticInformationMap.generated";
2
+import { append } from "../../compiler/core";
3
import {
- append,
4
AsExpression,
5
CallSignatureDeclaration,
6
ConstructSignatureDeclaration,
7
DiagnosticMessage,
8
FunctionDeclaration,
9
GetAccessorDeclaration,
10
IndexSignatureDeclaration,
11
- isJSDocNullableType,
12
MappedTypeNode,
13
MethodDeclaration,
14
MethodSignature,
@@ -36,6 +35,7 @@ import {
36
35
import { ChangeTracker } from "../textChanges";
37
import { CodeFixAction } from "../types";
38
import { getTokenAtPosition } from "../utilities";
+import { isJSDocNullableType } from "../../compiler/factory/nodeTests";
39
40
const fixIdPlain = "fixJSDocTypes_plain";
41
const fixIdNullable = "fixJSDocTypes_nullable";
0 commit comments