Skip to content

Remove strict mode directive from index.ts#1069

Merged
willum070 merged 1 commit intomainfrom
fix-ui-kit-regions
Feb 4, 2026
Merged

Remove strict mode directive from index.ts#1069
willum070 merged 1 commit intomainfrom
fix-ui-kit-regions

Conversation

@willum070
Copy link
Collaborator

@willum070 willum070 commented Feb 4, 2026

Adding the strict mode directive directly to the TS file causes a handful of odd issues:

  • The TS compiler strips the closing region tag in the output JS. Where'd it go?
  • Adds weird intermediate(?) output to the JS, rendering it un-runnable.

The directive isn't needed here, since "strict": true has already been specified in the tsconfig.json.

For future reference, always specify this directive as a compilerOption in tsconfig.json.

Adding the strict mode directive directly to the TS file causes a handful of odd issues:
* Strips the closing region tag. Where'd it go?
* Adds weird intermediate(?) output to the JS, rendering it un-runnable.

The directive isn't needed here, since `"strict": true` has already been specified in the tsconfig.json.

For future reference, always specify this directive as a compilerOption in tsconfig.json.
@willum070 willum070 requested a review from ejhaselden February 4, 2026 17:26
@willum070 willum070 merged commit 3ea2de4 into main Feb 4, 2026
11 checks passed
@willum070 willum070 deleted the fix-ui-kit-regions branch February 4, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants