File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2
2
/// <reference lib="esnext"/>
3
3
/// <reference lib="dom" />
4
4
5
- import { BaseStore } from "../../deps/scrapbox.ts" ;
5
+ import { BaseLine , BaseStore } from "../../deps/scrapbox.ts" ;
6
6
import { Position } from "./position.ts" ;
7
7
8
8
export interface Range {
@@ -13,8 +13,8 @@ export interface Range {
13
13
export declare class Selection extends BaseStore {
14
14
constructor ( ) ;
15
15
16
- /** `scrapbox.Page.lines`とほぼ同じ */
17
- get lines ( ) : unknown [ ] ;
16
+ /** 現在のページ本文を取得する */
17
+ get lines ( ) : BaseLine [ ] ;
18
18
19
19
/** 現在の選択範囲を取得する */
20
20
getRange ( init ?: { normalizeOrder : boolean } ) : Range ;
Original file line number Diff line number Diff line change 1
1
export type {
2
+ BaseLine ,
2
3
Line ,
3
4
Scrapbox ,
4
5
} from "https://raw.githubusercontent.com/scrapbox-jp/types/0.3.8/userscript.ts" ;
You can’t perform that action at this time.
0 commit comments