Replace String with string, add type to property metadata

This commit is contained in:
BoykoAlex
2017-08-29 22:09:42 -04:00
parent f8f52e200e
commit 4ddc1275c0

View File

@@ -18,6 +18,7 @@ export namespace Flo {
readonly name : string;
readonly description? : string;
readonly defaultValue? : any;
readonly type? : string;
readonly [propName : string] : any;
}
@@ -218,7 +219,7 @@ export namespace Flo {
name: name,
group: group,
unresolved: true,
get: (property : String) => new Promise(resolve => resolve()),
get: (property : string) => new Promise(resolve => resolve()),
properties: () => Promise.resolve(new Map<string, PropertyMetadata>())
};
}