Componenet -> Component (#12934)

This commit is contained in:
Tony Xia
2020-10-16 04:47:47 +11:00
committed by GitHub
parent 607447365d
commit c7e4cf7ca4
2 changed files with 5 additions and 5 deletions

View File

@@ -11,12 +11,12 @@ export const Extensions = {
export const HideInputTag = 'hide_input';
export interface ICellComponenetRegistry {
export interface ICellComponentRegistry {
registerComponent(component: any): void;
getComponents(): Array<any>;
}
class CellComponenetRegistry implements ICellComponenetRegistry {
class CellComponentRegistry implements ICellComponentRegistry {
private components = new Array<any>();
registerComponent(component: any): void {
@@ -28,7 +28,7 @@ class CellComponenetRegistry implements ICellComponenetRegistry {
}
}
const componentRegistry = new CellComponenetRegistry();
const componentRegistry = new CellComponentRegistry();
Registry.add(Extensions.CellComponentContributions, componentRegistry);
export function registerCellComponent(component: any): void {