diff --git a/examples/thumbnailer/thumb.ts b/examples/thumbnailer/thumb.ts index 9a9c2aeb1..12ec76f3a 100644 --- a/examples/thumbnailer/thumb.ts +++ b/examples/thumbnailer/thumb.ts @@ -5,6 +5,7 @@ export class Thumbnailer extends mu.Stack { private dest: mu.Bucket; // the destination to store thumbnails in. constructor(source: mu.Bucket, dest: mu.Bucket) { + super(); this.source = source; this.dest = dest; this.source.onObjectCreated(async (event) => { diff --git a/examples/thumbnailer/tsconfig.json b/examples/thumbnailer/tsconfig.json new file mode 100644 index 000000000..505b25bcc --- /dev/null +++ b/examples/thumbnailer/tsconfig.json @@ -0,0 +1,10 @@ +{ + "compilerOptions": { + "target": "es6" + }, + "files": [ + "index.ts", + "thumb.ts" + ] +} +