As part of FW-1265, the `@angular/core` package is made compatible with the TypeScript `--strict` flag. This already unveiled a few bugs, so the strictness flag seems to help with increasing the overall code health. Read more about the strict flag [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html) PR Close #30993
		
			
				
	
	
		
			36 lines
		
	
	
		
			668 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			668 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| package(default_visibility = ["//visibility:public"])
 | |
| 
 | |
| exports_files([
 | |
|     "tsconfig-build.json",
 | |
|     "tsconfig.json",
 | |
| ])
 | |
| 
 | |
| load("@npm_bazel_typescript//:index.bzl", "ts_config")
 | |
| load("//tools:defaults.bzl", "ts_library")
 | |
| 
 | |
| ts_library(
 | |
|     name = "types",
 | |
|     srcs = glob(["*.ts"]),
 | |
|     deps = [
 | |
|         "@npm//@types/hammerjs",
 | |
|         "@npm//zone.js",
 | |
|     ],
 | |
| )
 | |
| 
 | |
| ts_config(
 | |
|     name = "tsconfig-test",
 | |
|     src = "tsconfig-test.json",
 | |
|     deps = [":tsconfig-build.json"],
 | |
| )
 | |
| 
 | |
| ts_config(
 | |
|     name = "tsconfig-build-no-strict",
 | |
|     src = "tsconfig-build-no-strict.json",
 | |
|     deps = [":tsconfig-build.json"],
 | |
| )
 | |
| 
 | |
| exports_files([
 | |
|     "license-banner.txt",
 | |
|     "README.md",
 | |
| ])
 |