rename types to types.d.ts & fix Contexted logo
This commit is contained in:
27
src/types.d.ts
vendored
Normal file
27
src/types.d.ts
vendored
Normal 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 {}
|
||||
Reference in New Issue
Block a user