提交 aadb68be 编写于 作者: J Joao Moreno

generic Registry.as

上级 6462558c
......@@ -29,6 +29,7 @@ export interface IRegistry {
* @param id an extension idenifier
*/
as(id: string): any;
as<T>(id: string): T;
}
class RegistryImpl implements IRegistry {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册