kopia lustrzana https://github.com/Tldraw/Tldraw
15 wiersze
223 B
TypeScript
15 wiersze
223 B
TypeScript
![]() |
export type MessageFromWebview = {
|
||
|
type: 'editorUpdated'
|
||
|
text: string
|
||
![]() |
}
|
||
|
|
||
![]() |
export type MessageFromExtension =
|
||
|
| {
|
||
|
type: 'openedFile'
|
||
|
text: string
|
||
|
}
|
||
|
| {
|
||
|
type: 'fileSaved'
|
||
|
text: string
|
||
|
}
|