13 lines
381 B
JavaScript
13 lines
381 B
JavaScript
// @flow
|
|
|
|
let tests = [
|
|
// createElement
|
|
function(document: Document) {
|
|
(document.createElement('canvas'): HTMLCanvasElement);
|
|
(document.createElement('link'): HTMLLinkElement);
|
|
(document.createElement('option'): HTMLOptionElement);
|
|
(document.createElement('select'): HTMLSelectElement);
|
|
(document.querySelector('select'): HTMLSelectElement | null);
|
|
}
|
|
];
|