rename types to types.d.ts & fix Contexted logo

This commit is contained in:
2023-05-17 15:27:12 +02:00
parent c9c460b36c
commit a189dac30f
2 changed files with 5 additions and 6 deletions

27
src/types.d.ts vendored Normal file
View File

@@ -0,0 +1,27 @@
declare global {
interface BaseNote {
id: string
title: string
content: string
created: number
modified: number
isRoot?: boolean
}
interface Note extends BaseNote {
wordCount: number
}
interface ViewMode {
name: string
icon: string
}
interface AutocompleteEvent {
position?: any
autocompleteText?: string
domElement?: HTMLElement
show: boolean
}
}
export {}