Home
last modified time | relevance | path

Searched refs:ImportKind (Results 1 – 4 of 4) sorted by relevance

/third_party/typescript/src/services/codefixes/
DimportFixes.ts110 if (importKind === ImportKind.Named) {
129 case ImportKind.Default:
133 case ImportKind.Named:
137 case ImportKind.CommonJS:
138 case ImportKind.Namespace:
162 …function getNewImportEntry(moduleSpecifier: string, importKind: ImportKind, useRequire: boolean, a…
179 if (importKind === ImportKind.Default && addAsTypeOnly === AddAsTypeOnly.Required) {
314 readonly importKind: ImportKind.Default | ImportKind.Named;
319 readonly importKind: ImportKind;
332 readonly importKind: ImportKind;
[all …]
/third_party/typescript/src/services/refactors/
DconvertImport.ts6 [ImportKind.Named]: {
11 [ImportKind.Namespace]: {
16 [ImportKind.Default]: {
55 | { convertTo: ImportKind.Default, import: NamedImports }
56 | { convertTo: ImportKind.Namespace, import: NamedImports }
57 | { convertTo: ImportKind.Named, import: NamespaceImport };
80 return { convertTo: ImportKind.Named, import: importClause.namedBindings };
85 ? { convertTo: ImportKind.Default, import: importClause.namedBindings }
86 : { convertTo: ImportKind.Namespace, import: importClause.namedBindings };
96 if (info.convertTo === ImportKind.Named) {
[all …]
/third_party/typescript/src/services/
DexportInfoMap.ts3 export const enum ImportKind { enum
Dcompletions.ts1356 …case ImportKind.CommonJS: return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${es…
1357 …case ImportKind.Default: return { replacementSpan, insertText: `import${topLevelTypeOnlyText}${esc…
1358 …case ImportKind.Namespace: return { replacementSpan, insertText: `import${topLevelTypeOnlyText}* a…
1359 …case ImportKind.Named: return { replacementSpan, insertText: `import${topLevelTypeOnlyText}{ ${imp…