microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

Property assignment expected #573

Open iotch opened 7 years ago

iotch commented 7 years ago

Hello. It seems like plugin needs update since typescript 2.1 release - now it doesn't know about new object rest/spread features of TS 2.1 - getting property assignment expected error. Thanks!

abenhamdine commented 7 years ago

FWIW, you can target your own version of ts by setting the path in "typescript_tsdk" in Plugin Settings User.

iotch commented 7 years ago

I've installed 2.1.4 and code compiles without errors, it's just the plugin language that's outdated.

jnicolson commented 7 years ago

It looks like there's work underway to update the plugin to 2.1 - see #569 .

I manually installed the plugin and merged in those changes and it seems to work ok (though with very very limited testing so far)