aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/@types
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/@types')
-rw-r--r--viewer/src/@types/scrollposition.d.ts2
-rw-r--r--viewer/src/@types/tag.d.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/viewer/src/@types/scrollposition.d.ts b/viewer/src/@types/scrollposition.d.ts
index b2147fa..cd393b3 100644
--- a/viewer/src/@types/scrollposition.d.ts
+++ b/viewer/src/@types/scrollposition.d.ts
@@ -17,4 +17,4 @@
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18*/ 18*/
19 19
20type ScrollPosition = { [index: string]: number } 20type ScrollPosition = Record<string, number>
diff --git a/viewer/src/@types/tag.d.ts b/viewer/src/@types/tag.d.ts
index 76f1207..59ae779 100644
--- a/viewer/src/@types/tag.d.ts
+++ b/viewer/src/@types/tag.d.ts
@@ -31,8 +31,8 @@ declare namespace Tag {
31 operation: string; // Enum Operation 31 operation: string; // Enum Operation
32 display: string; 32 display: string;
33 } 33 }
34 type SearchByOperation = { [index: string]: Tag.Search[] }; 34 type SearchByOperation = Record<string, Tag.Search[]>;
35 type Index = { [index: string]: Node }; 35 type Index = Record<string, Node>;
36 36
37 interface Category { 37 interface Category {
38 tag: string; 38 tag: string;