Remove old file.

This commit is contained in:
Martin Karkowski 2020-08-24 13:34:31 +02:00
parent d0cf5caf46
commit 34c4f774f7

View File

@ -1,28 +0,0 @@
import { exportsElementsToDispatcher, exportMethodToDispatcher, exportPropertyToDispatcher } from "../lib/dispatcher/nopeDispatcherDecorators";
@exportsElementsToDispatcher({
url: 'icemaker'
})
export class Icemaker {
toppings = [];
sugar = 0;
@exportMethodToDispatcher()
addTopping(topping) {
this.toppings.push(topping);
}
@exportMethodToDispatcher()
addSugar() {
this.sugar++;
}
@exportPropertyToDispatcher()
name: string;
}
const instance = new Icemaker();
instance.addTopping('caramel')
console.log(instance)