6 lines
No EOL
237 B
TypeScript
6 lines
No EOL
237 B
TypeScript
interface Document {
|
|
createElement(tagName: string): HTMLElement;
|
|
createElement(tagName: 'canvas'): HTMLCanvasElement;
|
|
createElement(tagName: 'div'): HTMLDivElement;
|
|
createElement(tagName: 'span'): HTMLSpanElement;
|
|
} |