Sign in
bazel
/
rules_typescript
/
7b7b0436d08e94a8813ae1e53694af635d54c545
/
.
/
examples
/
devserver
/
app.ts
blob: a200b403a4c1a9ae77fb555b24ff87f18150e297 [
file
] [
log
] [
blame
]
const
body
=
document
.
body
;
const
textElement
=
document
.
createElement
(
'span'
);
textElement
.
innerText
=
'Hello from TypeScript'
;
// Append element to the body.
body
.
appendChild
(
textElement
);