mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-04-29 03:07:22 -05:00
Use eslint-plugin-simple-import-sort (#52090)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { LanguageServiceMode } from "./_namespaces/ts";
|
||||
import {
|
||||
Logger,
|
||||
LogLevel,
|
||||
ServerCancellationToken,
|
||||
SessionOptions,
|
||||
} from "./_namespaces/ts.server";
|
||||
import { LanguageServiceMode } from "./_namespaces/ts";
|
||||
|
||||
/** @internal */
|
||||
export function getLogLevel(level: string | undefined) {
|
||||
|
||||
@@ -1,4 +1,38 @@
|
||||
import * as protocol from "../server/protocol";
|
||||
import * as ts from "./_namespaces/ts";
|
||||
import {
|
||||
ApplyCodeActionCommandResult,
|
||||
assertType,
|
||||
CharacterCodes,
|
||||
combinePaths,
|
||||
createQueue,
|
||||
Debug,
|
||||
directorySeparator,
|
||||
DirectoryWatcherCallback,
|
||||
FileWatcher,
|
||||
getDirectoryPath,
|
||||
getNodeMajorVersion,
|
||||
getRootLength,
|
||||
JsTyping,
|
||||
LanguageServiceMode,
|
||||
MapLike,
|
||||
noop,
|
||||
noopFileWatcher,
|
||||
normalizePath,
|
||||
normalizeSlashes,
|
||||
perfLogger,
|
||||
resolveJSModule,
|
||||
SortedReadonlyArray,
|
||||
startTracing,
|
||||
stripQuotes,
|
||||
sys,
|
||||
toFileNameLowerCase,
|
||||
tracing,
|
||||
TypeAcquisition,
|
||||
validateLocaleAndSetLanguage,
|
||||
versionMajorMinor,
|
||||
WatchOptions,
|
||||
} from "./_namespaces/ts";
|
||||
import * as server from "./_namespaces/ts.server";
|
||||
import {
|
||||
ActionInvalidate,
|
||||
@@ -43,40 +77,6 @@ import {
|
||||
TypesRegistryResponse,
|
||||
TypingInstallerRequestUnion,
|
||||
} from "./_namespaces/ts.server";
|
||||
import {
|
||||
ApplyCodeActionCommandResult,
|
||||
assertType,
|
||||
CharacterCodes,
|
||||
combinePaths,
|
||||
createQueue,
|
||||
Debug,
|
||||
directorySeparator,
|
||||
DirectoryWatcherCallback,
|
||||
FileWatcher,
|
||||
getDirectoryPath,
|
||||
getNodeMajorVersion,
|
||||
getRootLength,
|
||||
JsTyping,
|
||||
LanguageServiceMode,
|
||||
MapLike,
|
||||
noop,
|
||||
noopFileWatcher,
|
||||
normalizePath,
|
||||
normalizeSlashes,
|
||||
perfLogger,
|
||||
resolveJSModule,
|
||||
SortedReadonlyArray,
|
||||
startTracing,
|
||||
stripQuotes,
|
||||
sys,
|
||||
toFileNameLowerCase,
|
||||
tracing,
|
||||
TypeAcquisition,
|
||||
validateLocaleAndSetLanguage,
|
||||
versionMajorMinor,
|
||||
WatchOptions,
|
||||
} from "./_namespaces/ts";
|
||||
import * as protocol from "../server/protocol";
|
||||
|
||||
interface LogOptions {
|
||||
file?: string;
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
import {
|
||||
Debug,
|
||||
getNodeMajorVersion,
|
||||
setStackTraceLimit,
|
||||
sys,
|
||||
version,
|
||||
} from "./_namespaces/ts";
|
||||
import {
|
||||
emptyArray,
|
||||
findArgument,
|
||||
@@ -6,13 +13,6 @@ import {
|
||||
Msg,
|
||||
StartInput,
|
||||
} from "./_namespaces/ts.server";
|
||||
import {
|
||||
Debug,
|
||||
getNodeMajorVersion,
|
||||
setStackTraceLimit,
|
||||
sys,
|
||||
version,
|
||||
} from "./_namespaces/ts";
|
||||
|
||||
export * from "./_namespaces/ts";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user