add types

This commit is contained in:
Kevin Moore
2015-02-11 21:04:52 -08:00
committed by Victor Berchet
parent 0499eeb231
commit 3519714f64
2 changed files with 10 additions and 6 deletions

View File

@ -17,7 +17,10 @@ import {ProtoChangeDetector, DynamicProtoChangeDetector, JitProtoChangeDetector}
from './src/change_detection/proto_change_detector';
export class ChangeDetection {
createProtoChangeDetector(name:string){}
createProtoChangeDetector(name:string):ProtoChangeDetector{
// TODO: this should be abstract, once supported in AtScript
return null;
}
}
export class DynamicChangeDetection extends ChangeDetection {