Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Easy-Editor/EasyEditor
/ currentDocument
Method
currentDocument
packages/core/src/project/project.ts:29–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
28
@computed
29
get currentDocument() {
30
return
this.documents.find(document => document.active)
31
}
32
33
@observable private accessor _config: Record<string, any> | undefined
34
Callers
nothing calls this directly
Calls
1
find
Method · 0.80
Tested by
no test coverage detected