Remove old file.
This commit is contained in:
parent
d0cf5caf46
commit
34c4f774f7
@ -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)
|
Loading…
Reference in New Issue
Block a user