angular-docs-cn/packages/bazel/test/protractor-2/app.ts

13 lines
351 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const el: HTMLDivElement = document.createElement('div');
el.innerText = 'Hello, Protractor';
el.className = 'ts1';
document.body.appendChild(el);