Sign in
bazel
/
rules_typescript
/
a2c369910e8de7622406e0cde3c9d1b48e8d703b
/
.
/
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
);