diff --git a/api/common/@internal/viewmodel.d.ts b/api/common/@internal/viewmodel.d.ts index bf5b3631b0b86b81d2c9abed5bb14aa26b832731..42e3a7e5e979d245c5db39b642f5a1955e1fb06e 100644 --- a/api/common/@internal/viewmodel.d.ts +++ b/api/common/@internal/viewmodel.d.ts @@ -2183,7 +2183,7 @@ export interface CanvasElement extends Element { * @param options use this context attributes to creating rendering context. * @devices tv, phone, tablet, wearable, smartVision */ - getContext(type: string, options?: ContextAttrOptions): CanvasRenderingContext2D; + getContext(type: '2d', options?: ContextAttrOptions): CanvasRenderingContext2D; /** * Creates a data URI that contains the image display.