mirror of https://github.com/sveltejs/svelte
parent
bd9c59aa5a
commit
aa59dafb81
@ -0,0 +1,23 @@
|
||||
import { Node } from '../interfaces';
|
||||
|
||||
export interface Computation {
|
||||
key: string;
|
||||
deps: string[]
|
||||
}
|
||||
|
||||
export interface TemplateProperties {
|
||||
computed?: Node;
|
||||
components?: Node;
|
||||
data?: Node;
|
||||
events?: Node;
|
||||
helpers?: Node;
|
||||
methods?: Node;
|
||||
namespace?: Node;
|
||||
oncreate?: Node;
|
||||
ondestroy?: Node;
|
||||
transitions?: Node;
|
||||
|
||||
// TODO remove in v2
|
||||
onrender?: Node;
|
||||
onteardown?: Node;
|
||||
}
|
Loading…
Reference in new issue