TS and JS Grammar Extension version: 0.0.53 / latest
Code
function getFoo() { return <T, P>(t: T) => {t}}
const stuff = { foo: getFoo()<string, number>('ddd') }
//const v = {
// title: ''
//}
console.log('highlight is broken unless object literal defined above')
const a = ''
function hello() {
return 10
}
interface Bar {
count: number
}

