mirror of
https://github.com/certd/certd.git
synced 2026-05-16 13:17:29 +08:00
feat: midway注解方式编写插件
This commit is contained in:
@@ -20,7 +20,7 @@ export class Registry {
|
||||
this.storage[key] = value;
|
||||
}
|
||||
|
||||
get(name: string) {
|
||||
get(name: string): RegistryItem {
|
||||
if (!name) {
|
||||
throw new Error("插件名称不能为空");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user