Skip to content

Commit

Permalink
fixture: add code that only works in TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Mar 20, 2020
1 parent 66067a0 commit 8238c32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fixtures/js/render.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
function render() {
document.getElementById('app').innerHTML = "<h1>Welcome to Your TypeScript App</h1>";
const html: string = "<h1>Welcome to Your TypeScript App</h1>";
document.getElementById('app').innerHTML = html;
}

export default render;

0 comments on commit 8238c32

Please sign in to comment.