File tree Expand file tree Collapse file tree 6 files changed +701
-0
lines changed Expand file tree Collapse file tree 6 files changed +701
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " workspace" ,
3
+ "private" : true ,
4
+ "dependencies" : {
5
+ "@angular/common" : " ~11.0.5" ,
6
+ "@angular/compiler-cli" : " ~11.0.5" ,
7
+ "@angular/core" : " ~11.0.5" ,
8
+ "rxjs" : " ~6.6.0" ,
9
+ "zone.js" : " ~0.10.2"
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ import { Component } from '@angular/core' ;
2
+
3
+ @Component ( {
4
+ selector : 'app-root' ,
5
+ template : `<h1>Welcome to {{title}}!</h1>` ,
6
+ styles : [ ] ,
7
+ } )
8
+ export class AppComponent {
9
+ title = 'demo' ;
10
+ }
Original file line number Diff line number Diff line change
1
+ import { NgModule } from '@angular/core' ;
2
+
3
+ import { AppComponent } from './app.component' ;
4
+
5
+ @NgModule ( {
6
+ declarations : [ AppComponent ] ,
7
+ providers : [ ] ,
8
+ bootstrap : [ AppComponent ] ,
9
+ } )
10
+ export class AppModule {
11
+ }
Original file line number Diff line number Diff line change
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "extends" : " ../../tsconfig.json" ,
4
+ "compilerOptions" : {
5
+ "outDir" : " ../../out-tsc/app" ,
6
+ "types" : []
7
+ },
8
+ "files" : [
9
+ " src/app/app.module.ts" ,
10
+ ],
11
+ "include" : [
12
+ " src/**/*.d.ts"
13
+ ]
14
+ }
Original file line number Diff line number Diff line change
1
+ /* To learn more about this file see: https://angular.io/config/tsconfig. */
2
+ {
3
+ "compileOnSave" : false ,
4
+ "compilerOptions" : {
5
+ "baseUrl" : " ./" ,
6
+ "outDir" : " ./dist/out-tsc" ,
7
+ "forceConsistentCasingInFileNames" : true ,
8
+ "strict" : true ,
9
+ "noImplicitReturns" : true ,
10
+ "noFallthroughCasesInSwitch" : true ,
11
+ "sourceMap" : true ,
12
+ "declaration" : false ,
13
+ "downlevelIteration" : true ,
14
+ "experimentalDecorators" : true ,
15
+ "moduleResolution" : " node" ,
16
+ "importHelpers" : true ,
17
+ "target" : " es2015" ,
18
+ "module" : " es2020" ,
19
+ "lib" : [
20
+ " es2018" ,
21
+ " dom"
22
+ ]
23
+ },
24
+ "angularCompilerOptions" : {
25
+ "strictInjectionParameters" : true ,
26
+ "strictInputAccessModifiers" : true ,
27
+ "strictTemplates" : true
28
+ }
29
+ }
You can’t perform that action at this time.
0 commit comments