You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Modules plugin doesn't load or compile .ts files without a language header #52
I'm experiencing an issue with the Modules plugin in Obsidian where .ts files are not detected as TypeScript when used as startup modules.
A TypeScript file only seems to work when I explicitly add the language header:
// { "language": "TypeScript" }
Without this header, the plugin appears unable to recognize the file as TypeScript, even though the file already has the .ts extension.
Unexpected behavior
The plugin also run the default function twice every time it loads or reloads for some reason!
stack
index.ts:4 "default"
at dtest (index.ts:8:7)
at vHt (plugin:modules:47142:17880)
at async yHt (plugin:modules:47142:17520)
at async eval (plugin:modules:47142:15961)
at async Promise.all (index 0)
at async Xxe.load (plugin:modules:47142:16295)
at async Hlt (plugin:modules:47142:17424)
at async zlt (plugin:modules:47143:634)
at async Promise.all (index 1)
at async eval (plugin:modules:47143:17096)
index.ts:4 "default"
at dtest (index.ts:8:7)
at vHt (plugin:modules:47142:17880)
at async yHt (plugin:modules:47142:17520)
at async eval (plugin:modules:47142:15961)
at async Promise.all (index 0)
at async Xxe.load (plugin:modules:47142:16295)
Activity