# SST vs Serverless Framework for TypeScript Functions

**URL:** <https://discourse.sst.dev/t/sst-vs-serverless-framework-for-typescript-functions/2336>\
**Category:** General\
**Created:** [March 2, 2021, 9:59am UTC](https://discourse.sst.dev/t/sst-vs-serverless-framework-for-typescript-functions/2336 "2021-03-02T09:59:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KinnersleyM](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/kinnersleym/32/1136_2.png) [@KinnersleyM](https://discourse.sst.dev/u/KinnersleyM)\
**Post date:** [March 2, 2021, 9:59am UTC](https://discourse.sst.dev/t/sst-vs-serverless-framework-for-typescript-functions/2336/1 "2021-03-02T09:59:35Z")

</div>

First off, nice work on SST and the guide. It’s been a huge help!

I am going to create a GraphQL api in TypeScript with TypeGraphQL. I can accomplish this with the serverless-bundle plugin for the Serverless Framework but was wondering, seeing as I will be using SST for shared infrastructure, if SST is capable of bundling typescript lambda functions like I can with the serverless framework + webpack. If I can get rid of the dependency on the Serverless Framework and switch solely to SST, that would make my life easier, giving me the ability to have my entire project in TypeScript.

EDIT: After giving this a go, it seems like because functions are packaged with esbuild which doesn’t allow for certain tsconfig.json options such as `emitDecoratorMetadata`, TypeGraphQL is incompatible which relies on decorators. If there was a way to bundle functions in another way with SST, then that would be awesome.

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [March 3, 2021, 4:12am UTC](https://discourse.sst.dev/t/sst-vs-serverless-framework-for-typescript-functions/2336/2 "2021-03-03T04:12:02Z")

</div>

Hi there! Thanks for the kind words!

Can I bother you to open a new issue for this — [https://github.com/serverless-stack/serverless-stack/issues/new](https://github.com/serverless-stack/serverless-stack/issues/new)

We’d like to support this for sure!

---

<div class="post-metadata">

**Author:** ![KinnersleyM](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/kinnersleym/32/1136_2.png) [@KinnersleyM](https://discourse.sst.dev/u/KinnersleyM)\
**Post date:** [March 3, 2021, 11:36am UTC](https://discourse.sst.dev/t/sst-vs-serverless-framework-for-typescript-functions/2336/3 "2021-03-03T11:36:08Z")

</div>

Here you go [#168](https://github.com/serverless-stack/serverless-stack/issues/168)
