feat: Refactor utility and component exports, update dependencies, and add Knip for unused code detection.
This commit is contained in:
@@ -2,9 +2,9 @@ import React, { createContext, useContext, useCallback } from 'react';
|
||||
import type { Document } from '../types/documents';
|
||||
import type { Identifier } from '../types/identifiers';
|
||||
|
||||
export type DocumentOpenTarget = 'preview' | 'sidepanel' | 'viewer';
|
||||
type DocumentOpenTarget = 'preview' | 'sidepanel' | 'viewer';
|
||||
|
||||
export interface DocumentOpenContextValue {
|
||||
interface DocumentOpenContextValue {
|
||||
openDocument: (doc: Document, target?: DocumentOpenTarget) => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user