mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
Fix folders of items wrt the itemid map
This commit is contained in:
parent
cbbda39688
commit
6bdbf14ecb
4 changed files with 37 additions and 5 deletions
|
|
@ -113,7 +113,10 @@ function resolveModule(cx: Context, contents: Item[]): Item[] {
|
|||
|
||||
const resolver: Folder = {
|
||||
...DEFAULT_FOLDER,
|
||||
item(item) {
|
||||
ast() {
|
||||
return cx.ast;
|
||||
},
|
||||
itemInner(item) {
|
||||
switch (item.kind) {
|
||||
case "function": {
|
||||
const params = item.node.params.map(({ name, span, type }) => ({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue