Skip to content

Commit d8bfc9b

Browse files
committed
chore: linter 🧽
1 parent 51f4fad commit d8bfc9b

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

src/lib/sandbox/main-custom-element.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
import { type CustomElementData, type PartytownWebWorker, type WinId, WorkerMessageType } from '../types';
1+
import {
2+
type CustomElementData,
3+
type PartytownWebWorker,
4+
type WinId,
5+
WorkerMessageType,
6+
} from '../types';
27
import { defineConstructorName } from '../utils';
38
import { getAndSetInstanceId } from './main-instances';
49
import { winCtxs } from './main-constants';

src/lib/sandbox/read-main-platform.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@ import {
77
serializeConfig,
88
} from '../utils';
99
import { config, docImpl, libPath, mainWindow } from './main-globals';
10-
import { InterfaceType, type InterfaceInfo, type InterfaceMember, type InitWebWorkerData } from '../types';
10+
import {
11+
InterfaceType,
12+
type InterfaceInfo,
13+
type InterfaceMember,
14+
type InitWebWorkerData,
15+
} from '../types';
1116

1217
export const readMainPlatform = () => {
1318
const elm = docImpl.createElement('i');

src/lib/web-worker/index.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ import { callWorkerRefHandler } from './worker-serialization';
33
import { createEnvironment } from './worker-environment';
44
import { debug } from '../utils';
55
import { environments, webWorkerCtx } from './worker-constants';
6-
import { type ForwardMainTriggerData, type MessageFromSandboxToWorker, WorkerMessageType } from '../types';
6+
import {
7+
type ForwardMainTriggerData,
8+
type MessageFromSandboxToWorker,
9+
WorkerMessageType,
10+
} from '../types';
711
import { initNextScriptsInWebWorker } from './worker-exec';
812
import { initWebWorker } from './init-web-worker';
913
import { logWorker, normalizedWinId } from '../log';

src/lib/web-worker/media/canvas.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ import {
88
randomId,
99
} from './bridge';
1010
import { ContextKey, defineCstr, notImpl } from './utils';
11-
import { CallType, type WorkerConstructor, type WorkerInstance, type WorkerWindow } from '../../types';
11+
import {
12+
CallType,
13+
type WorkerConstructor,
14+
type WorkerInstance,
15+
type WorkerWindow,
16+
} from '../../types';
1217

1318
export const initCanvas = (WorkerBase: WorkerConstructor, win: WorkerWindow) => {
1419
const HTMLCanvasDescriptorMap: PropertyDescriptorMap & ThisType<Node> = {

src/lib/web-worker/worker-css-style-declaration.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
import { type ApplyPath, CallType, type InstanceId, type WinId, type WorkerConstructor } from '../types';
1+
import {
2+
type ApplyPath,
3+
CallType,
4+
type InstanceId,
5+
type WinId,
6+
type WorkerConstructor,
7+
} from '../types';
28
import { cachedDimensions, InstanceDataKey } from './worker-constants';
39
import { callMethod, getter, setter } from './worker-proxy';
410
import { defineConstructorName } from '../utils';

0 commit comments

Comments
 (0)