File tree Expand file tree Collapse file tree 6 files changed +28
-20
lines changed
Expand file tree Collapse file tree 6 files changed +28
-20
lines changed Original file line number Diff line number Diff line change 159159 " @typescript-eslint"
160160 ],
161161 "rules" : {
162+ "@typescript-eslint/consistent-type-imports" : [
163+ " error" ,
164+ {
165+ "prefer" : " type-imports" ,
166+ "fixStyle" : " separate-type-imports"
167+ }
168+ ],
162169 "@typescript-eslint/naming-convention" : [
163170 " error" ,
164171 {
Original file line number Diff line number Diff line change 11import { PageConfig , URLExt } from '@jupyterlab/coreutils' ;
2- import { ServerConnection , Terminal } from '@jupyterlab/services' ;
3- import {
2+ import type { Terminal } from '@jupyterlab/services' ;
3+ import { ServerConnection } from '@jupyterlab/services' ;
4+ import type {
45 IExternalCommand ,
56 IShellManager ,
67 IStdinReply ,
7- IStdinRequest ,
8- ShellManager
8+ IStdinRequest
99} from '@jupyterlite/cockle' ;
10- import { JSONPrimitive } from '@lumino/coreutils' ;
11- import { ISignal , Signal } from '@lumino/signaling' ;
10+ import { ShellManager } from '@jupyterlite/cockle' ;
11+ import type { JSONPrimitive } from '@lumino/coreutils' ;
12+ import type { ISignal } from '@lumino/signaling' ;
13+ import { Signal } from '@lumino/signaling' ;
1214
13- import {
14- Server as WebSocketServer ,
15- Client as WebSocketClient
16- } from 'mock-socket' ;
15+ import type { Client as WebSocketClient } from 'mock-socket' ;
16+ import { Server as WebSocketServer } from 'mock-socket' ;
1717
1818import { Shell } from './shell' ;
19- import { ILiteTerminalAPIClient } from './tokens' ;
19+ import type { ILiteTerminalAPIClient } from './tokens' ;
2020
2121export class LiteTerminalAPIClient implements ILiteTerminalAPIClient {
2222 constructor ( options : { serverSettings ?: ServerConnection . ISettings } = { } ) {
Original file line number Diff line number Diff line change 11// Copyright (c) Jupyter Development Team.
22// Distributed under the terms of the Modified BSD License.
33
4- import {
4+ import type {
55 JupyterFrontEnd ,
66 JupyterFrontEndPlugin
77} from '@jupyterlab/application' ;
88import { IThemeManager } from '@jupyterlab/apputils' ;
9+ import type { ServiceManagerPlugin , Terminal } from '@jupyterlab/services' ;
910import {
1011 IServerSettings ,
1112 ITerminalManager ,
1213 ServerConnection ,
13- ServiceManagerPlugin ,
14- Terminal ,
1514 TerminalManager
1615} from '@jupyterlab/services' ;
1716import { IServiceWorkerManager } from '@jupyterlite/apputils' ;
Original file line number Diff line number Diff line change 1- import { BaseShell , IShell } from '@jupyterlite/cockle' ;
1+ import type { IShell } from '@jupyterlite/cockle' ;
2+ import { BaseShell } from '@jupyterlite/cockle' ;
23
3- import { Client as WebSocketClient } from 'mock-socket' ;
4+ import type { Client as WebSocketClient } from 'mock-socket' ;
45
56/**
67 * Shell class that uses web worker that plugs into a DriveFS via the service worker.
Original file line number Diff line number Diff line change 1- import { Terminal } from '@jupyterlab/services' ;
2- import {
1+ import type { Terminal } from '@jupyterlab/services' ;
2+ import type {
33 IExternalCommand ,
44 IStdinReply ,
55 IStdinRequest
66} from '@jupyterlite/cockle' ;
77import { Token } from '@lumino/coreutils' ;
8- import { ISignal } from '@lumino/signaling' ;
8+ import type { ISignal } from '@lumino/signaling' ;
99
1010export const ILiteTerminalAPIClient = new Token < ILiteTerminalAPIClient > (
1111 '@jupyterlite/terminal:client'
Original file line number Diff line number Diff line change 11import { expose } from 'comlink' ;
22
3- import { BaseShellWorker , IDriveFSOptions } from '@jupyterlite/cockle' ;
3+ import type { IDriveFSOptions } from '@jupyterlite/cockle' ;
4+ import { BaseShellWorker } from '@jupyterlite/cockle' ;
45import { DriveFS } from '@jupyterlite/services' ;
56
67/**
You can’t perform that action at this time.
0 commit comments