File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
import { uniqueId } from "convenience-functions" ;
3
3
import { XmlComponent } from "file/xml-components" ;
4
4
5
- import { TextRun } from "../run " ;
5
+ import { ParagraphChild } from "../paragraph " ;
6
6
import { BookmarkEndAttributes , BookmarkStartAttributes } from "./bookmark-attributes" ;
7
7
8
8
export class Bookmark {
9
9
public readonly start : BookmarkStart ;
10
- public readonly children : TextRun [ ] ;
10
+ public readonly children : ParagraphChild [ ] ;
11
11
public readonly end : BookmarkEnd ;
12
12
13
- constructor ( options : { readonly id : string ; readonly children : TextRun [ ] } ) {
13
+ constructor ( options : { readonly id : string ; readonly children : ParagraphChild [ ] } ) {
14
14
const linkId = uniqueId ( ) ;
15
15
16
16
this . start = new BookmarkStart ( options . id , linkId ) ;
You can’t perform that action at this time.
0 commit comments