mirror of
https://github.com/purocean/yn.git
synced 2026-09-24 15:46:02 +08:00
refactor: update PositionState type and remove duplicate definition
This commit is contained in:
@@ -7,6 +7,9 @@ import type * as Monaco from 'monaco-editor'
|
||||
|
||||
export * from '@share/types'
|
||||
|
||||
export type PositionScrollState = { editorScrollTop?: number, viewScrollTop?: number }
|
||||
export type PositionState = { line: number, column?: number } | { anchor: string } | PositionScrollState
|
||||
|
||||
export type TTitle = keyof {[K in MsgPath as `T_${K}`]: never}
|
||||
|
||||
export type SettingSchema = {
|
||||
|
||||
@@ -28,5 +28,3 @@ export interface Repo {
|
||||
name: string;
|
||||
path: string;
|
||||
}
|
||||
|
||||
export type PositionState = { editorScrollTop?: number, viewScrollTop?: number }
|
||||
|
||||
Reference in New Issue
Block a user