ArcticTypescript
ArcticTypescript copied to clipboard
'NoneType' object is not subscriptable
Hi, the plugin keeps crashing with following message: "'NoneType' object is not subscriptable"
I've isolated the reason to files which reference other files e.g. "///
I am attaching a sample project where it is failing.
To replicate:
- Open project and the arctic typescript error view
- Open file
tasks_router.ts
and notice, that after second modification you receive "'NoneType' object is not subscriptable" error and plugin is dead - Modify "meteor-typescript-utils.d.ts" and remove the references from that file
- Modify and save tsconfig.json
- When you start modifying
tasks_router.ts
all works as normal.
I hope i can take a look today.
Thanks for the example.
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.
Hm. I can't really reproduce that NoneType exception. But I noticed that you spelled "typeScript" instead of "typescript" in tsconfig.json. Try the "filesGlob" prefrence (refer to README.md). I think there should be at least a Console Message if you try to open files which are not referenced in the tsconfig.json. I'll release an update soon which should do this.