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 22/// <reference lib="esnext"/>
33/// <reference lib="dom" />
44
5- import { BaseStore } from "../../deps/scrapbox.ts" ;
5+ import { BaseLine , BaseStore } from "../../deps/scrapbox.ts" ;
66import { Position } from "./position.ts" ;
77
88export interface Range {
@@ -13,8 +13,8 @@ export interface Range {
1313export declare class Selection extends BaseStore {
1414 constructor ( ) ;
1515
16- /** `scrapbox.Page.lines`とほぼ同じ */
17- get lines ( ) : unknown [ ] ;
16+ /** 現在のページ本文を取得する */
17+ get lines ( ) : BaseLine [ ] ;
1818
1919 /** 現在の選択範囲を取得する */
2020 getRange ( init ?: { normalizeOrder : boolean } ) : Range ;
Original file line number Diff line number Diff line change 11export type {
2+ BaseLine ,
23 Line ,
34 Scrapbox ,
45} 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