thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.6k stars 128 forks source link

Add support for custom filters in TypeScript #1209

Open CharlieSnowCode opened 1 year ago

CharlieSnowCode commented 1 year ago

Our team would like to be able to add custom scripts that utilize TypeScript. Currently, only JavaScript is supported.

We have tried extending the tc-types.d.ts file and creating a new TypeScript file, but couldn't get past the runtime errors. See: https://github.com/rangav/thunder-client-support/discussions/1205

Team size: 7 and growing. Thank you!

rangav commented 1 year ago

Thanks @CharlieSnowCode for the feedback, will research about this feature.

rangav commented 8 months ago

As an alternative you can use - // @ts-check at the top of js script file

https://www.typescriptlang.org/docs/handbook/intro-to-js-ts.html