Skip to content

Commit

Permalink
chore: use Angular 19 tsconfig defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Genov committed Jan 27, 2025
1 parent 8060f4b commit 032c120
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 10 deletions.
3 changes: 2 additions & 1 deletion apps/solace-message-client-testing-app/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "../../tsconfig.json",
"compilerOptions": {
Expand Down
6 changes: 3 additions & 3 deletions projects/solace-message-client/src/public-api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export {SolaceMessageClientConfig, SolaceMessageClientConfigFn} from './lib/solace-message-client.config';
export {OAuthAccessTokenFn} from './lib/oauth-access-token-provider';
export {type SolaceMessageClientConfig, type SolaceMessageClientConfigFn} from './lib/solace-message-client.config';
export {type OAuthAccessTokenFn} from './lib/oauth-access-token-provider';
export {SolaceSessionProvider} from './lib/solace-session-provider';
export {provideSolaceMessageClient, provideNullSolaceMessageClient} from './lib/solace-message-client.provider';
export {MessageEnvelope, Params, SolaceMessageClient, mapToText, mapToBinary, ObserveOptions, ConsumeOptions, PublishOptions, NullSolaceMessageClient, Data, RequestOptions} from './lib/solace-message-client';
export {type MessageEnvelope, type Params, SolaceMessageClient, mapToText, mapToBinary, type ObserveOptions, type ConsumeOptions, type PublishOptions, NullSolaceMessageClient, type Data, type RequestOptions} from './lib/solace-message-client';
2 changes: 2 additions & 0 deletions projects/solace-message-client/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "../../tsconfig.json",
"compilerOptions": {
Expand Down
3 changes: 2 additions & 1 deletion projects/solace-message-client/tsconfig.lib.prod.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "./tsconfig.lib.json",
"compilerOptions": {
Expand Down
3 changes: 3 additions & 0 deletions projects/solace-message-client/tsconfig.lib.prod.typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "./tsconfig.lib.prod.json",
"compilerOptions": {
"sourceMap": true
},
"typedocOptions": {
"name": "Angular Solace Message Client",
"entryPoints": [
Expand Down
3 changes: 2 additions & 1 deletion projects/solace-message-client/tsconfig.spec.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"extends": "../../tsconfig.json",
"compilerOptions": {
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* To learn more about this file see: https://angular.io/config/tsconfig. */
/* To learn more about Typescript configuration file: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html. */
/* To learn more about Angular compiler options: https://angular.dev/reference/configs/angular-compiler-options. */
{
"compileOnSave": false,
"compilerOptions": {
Expand All @@ -9,16 +10,14 @@
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
"isolatedModules": true,
"esModuleInterop": true,
"sourceMap": true,
"declaration": false,
"experimentalDecorators": true,
"moduleResolution": "bundler",
"importHelpers": true,
"target": "ES2022",
"module": "ES2022",
"noUnusedLocals": true,
"useDefineForClassFields": false,
"lib": [
"ES2022",
"dom"
Expand Down

0 comments on commit 032c120

Please sign in to comment.