Closed bbugh closed 2 years ago
oh thats a good point. wasnt thinking about it @bbugh as I'm so used to TypeScript shenanigans but certainly helpful as a quickstart
I made the recommended change and clarified the usage with TypeScript. I also fixed the example code formatting, I noticed that the tab stop is 4 in the readme, so the new example code I added is also 4 now.
Thank you both so much for taking the time to work on this. Sorry I'm not so quick at merging pull requests, but I can't tell you how much I appreciate you spending time on the project.
I was looking for a plugin like this and just came across it moments ago, how fortuitous for me that TypeScript was just merged with #16 a couple of hours ago! It's working great so far.
I couldn't find a way to make this work without TypeScript complaining about types, and found a thread about a different plugin which was helpful.
I added some instructions to the README for installation and for usage with TypeScript.
@zewa666 maybe you want to take a look too in case I missed something?