UNPKG

aws-lambda-upload

Version:

Package and upload an AWS lambda with its minimal dependencies

8 lines (7 loc) 302 B
import 'dep1'; import * as bar from 'lib/bar'; import 'lib/baz_ts'; // This line helps verify that the file is parsed with TypeScript (not valid JS), // AND that these imports aren't ignored (as TS has "elision of unused references"). const x: any = bar; console.log("imported foo_ts.ts", Boolean(x));