I have a lot of useful snippets on JS.
Like cl
for console.log();
or
fn
for
function methodName (arguments) {
// body...
}
However I can't use them on *.ts
files.
How can manage the snippets and complation for js to ts also.
Thanks
You have to add a typescript source to your snippets scope.
There is a exemple of snippet that you can find in the TypeScript package: