File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11function render ( ) {
22 const html : string = "<h1>Welcome to Your TypeScript App</h1>" ;
3- document . getElementById ( 'app' ) . innerHTML = html ;
3+ document . getElementById ( 'app' ) ! . innerHTML = html ;
44}
55
66export default render ;
Original file line number Diff line number Diff line change 11function render ( ) {
2- document . getElementById ( 'app' ) . innerHTML = "<h1>Welcome to Your TypeScript App</h1>" ;
2+ document . getElementById ( 'app' ) ! . innerHTML = "<h1>Welcome to Your TypeScript App</h1>" ;
33}
44
55export default render ;
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
3+ "target" : " es6" ,
4+ "module" : " es2015" ,
5+ "moduleResolution" : " bundler" ,
36 "allowSyntheticDefaultImports" : true
47 }
58}
Original file line number Diff line number Diff line change 33 "target" : " es6" ,
44 "strict" : true ,
55 "module" : " es2015" ,
6- "moduleResolution" : " node " ,
6+ "moduleResolution" : " bundler " ,
77 "allowSyntheticDefaultImports" : true
88 },
99 "include" : [
1010 " ./**/*.ts"
1111 ]
12- }
12+ }
Original file line number Diff line number Diff line change 33 "target" : " es6" ,
44 "strict" : true ,
55 "module" : " es2015" ,
6- "moduleResolution" : " node " ,
6+ "moduleResolution" : " bundler " ,
77 "allowSyntheticDefaultImports" : true
88 },
99 "include" : [
1010 " ./**/*.ts"
1111 ]
12- }
12+ }
You can’t perform that action at this time.
0 commit comments