Skip to content

Commit

Permalink
chore: lint fix (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuizuo authored Jan 3, 2024
1 parent 655d117 commit 2696a63
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/playground/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import MonacoEditor from './components/MonacoEditor';
import Sidebar from './components/Sidebar';
import Tab from './components/Tab';
import { DeobfuscateContextProvider } from './context/DeobfuscateContext';
import { DeobfuscateResult } from './webcrack.worker';
import type { DeobfuscateResult } from './webcrack.worker';

export const [settings, setSettings] = createStore({
deobfuscate: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/components/DirectoryNode.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { For, Show } from 'solid-js';
import FileNode from './FileNode';
import { TreeNode } from './FileTree';
import type { TreeNode } from './FileTree';

interface Props extends TreeNode {
onFileClick?: (node: TreeNode) => void;
Expand Down
2 changes: 1 addition & 1 deletion apps/playground/src/components/FileNode.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TreeNode } from './FileTree';
import type { TreeNode } from './FileTree';

interface Props extends TreeNode {
onClick?: () => void;
Expand Down
5 changes: 3 additions & 2 deletions apps/playground/src/context/DeobfuscateContext.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { ParentProps, createContext, createSignal, useContext } from 'solid-js';
import type { ParentProps} from 'solid-js';
import { createContext, createSignal, useContext } from 'solid-js';
import type { Options } from 'webcrack';
import { evalCode } from '../sandbox';
import {
import type {
DeobfuscateResult,
WorkerRequest,
WorkerResponse,
Expand Down
3 changes: 2 additions & 1 deletion apps/playground/src/webcrack.worker.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Options, Sandbox, webcrack } from 'webcrack';
import type { Options, Sandbox} from 'webcrack';
import { webcrack } from 'webcrack';

export type WorkerRequest =
| { type: 'deobfuscate'; code: string; options: Options }
Expand Down

0 comments on commit 2696a63

Please sign in to comment.