aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorAubrey-Li <63608597+Aubrey-Li@users.noreply.github.com>2021-08-05 19:40:00 -0700
committerAubrey-Li <63608597+Aubrey-Li@users.noreply.github.com>2021-08-05 19:40:00 -0700
commit17e50d9e69c7d59c7d4c2be5c75c51b3e02bc698 (patch)
tree92fb6ffed0ad68260885712ad71bfa8dfa21c06b /src/client/views/nodes/DocumentView.tsx
parenta5a7a94d3c52cdb230ff3d93790850329940abcf (diff)
parentde45cc09b8fe4e6231f0e568443f3c6e262f97ea (diff)
Merge branch 'master' into trails-aubrey
Diffstat (limited to 'src/client/views/nodes/DocumentView.tsx')
-rw-r--r--src/client/views/nodes/DocumentView.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index c218b805e..bea219831 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -105,9 +105,9 @@ export interface DocumentViewSharedProps {
styleProvider: Opt<StyleProviderFunc>;
focus: DocFocusFunc;
fitWidth?: () => boolean;
- docFilters?: () => Opt<string[]>;
- docRangeFilters?: () => Opt<string[]>;
- searchFilterDocs?: () => Opt<Doc[]>;
+ docFilters: () => string[];
+ docRangeFilters: () => string[];
+ searchFilterDocs: () => Doc[];
whenChildContentsActiveChanged: (isActive: boolean) => void;
rootSelected: (outsideReaction?: boolean) => boolean; // whether the root of a template has been selected
addDocTab: (doc: Doc, where: string) => boolean;