adieuadieu / serverless-chrome

🌐 Run headless Chrome/Chromium on AWS Lambda
MIT License
2.86k stars 280 forks source link

Feat: convert package and serverless plugin to typescript #39

Open adieuadieu opened 7 years ago

adieuadieu commented 7 years ago

Convert the serverless plugin and standalone package to typescript. Tests, too? However, not the examples.

md97212 commented 6 years ago

Is this where you where working on this Feature? integration-test/typescript-handler.ts

Is the crux just including the definitions file? or is it more than that? I was looking at this, got stuck in the same spot and then found your example :)

adieuadieu commented 6 years ago

Hi @md97212 — Hm.. integration-test/typescript-handler.ts is just a test file to make sure that the serverless-plugin-chrome package plays well with the serverless-plugin-typescript plugin.

The goal of this Issue is to convert all of the Javascript in the two packages (~/packages/lambda and ~/packages/serverless-plugin) to Typescript. It's blocked until 1.0 is released (see #74).

mooyoul commented 6 years ago

If you guys interested in typescript definition for typescript-based project. Please checkout our serverless-chrome typescript definition file